#A368DF

A color in the Violet family

#a368df is a color in the Violet family: RGB(163, 104, 223), HSL(270°, 65%, 64%), CMYK(27%, 53%, 0%, 13%). Closest named color: mediumpurple. Contrast is 3.75:1 on white and 5.6:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a368df
RGBrgb(163 104 223)
RGB (legacy)rgb(163, 104, 223)
RGB %rgb(64% 41% 87%)
HSLhsl(270 65% 64%)
HSV / HSBhsv(270, 53%, 87%)
HWBhwb(270 41% 13%)
CMYKcmyk(27%, 53%, 0%, 13%)
CIELAB (D50)lab(54.6 41.34 -52.5)
LCHlch(54.6 66.83 308.22)
OKLaboklab(0.6322 0.1015 -0.1465)
OKLCHoklch(0.6322 0.1783 304.71)
Decimal10709215

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 3.2
Closest web-safe color#9966cc
Hue270°
Saturation (HSL / HSV)65% / 53%
Lightness (HSL)64%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)53% / 49%
Relative luminance (WCAG)0.2301
Red / Green / Blue163 / 104 / 223

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.75:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.60:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 64.7 / -37 · As background with white / black text: Lc -70.2 / 39.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #a368df;
  --color-brand-oklch: oklch(63.22% 0.1783 304.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(163 104 223 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a368df] text-[#a368df] border-[#a368df]">