#9867DA#9867DA

#9867DA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.6% C 0.171 H 301.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9867DA
RGBrgb(152, 103, 218)
HSLhsl(266, 61%, 63%)
HSVhsv(266, 53%, 85%)
CMYKcmyk(30.3%, 52.8%, 0%, 14.5%)
CIE-LABlab(53.43, 42.88, -51.96)
CIE-LCHlch(53.43, 67.37, 309.53°)
OKLaboklab(61.64% 0.0888 -0.1466)
OKLCHoklch(61.64% 0.171 301.2)
XYZxyz(30.4511, 21.4377, 68.8497)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867DA #A9DA67
analogous
#676FDA #9867DA #D167DA
triadic
#9867DA #DA9867 #67DA98
tetradic
#9867DA #DA676F #A9DA67 #67DAD1
square
#9867DA #DA676F #A9DA67 #67DAD1
split-complementary
#9867DA #DAD167 #6FDA67
monochromatic
#5A27A0 #7736CE #9867DA #B998E6 #DBC9F2

Accessibility & contrast

On white

3.97
#9867DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9867DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867DA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867DA#FFFFFF#000000##000000
##9867DA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDE
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#8B7D97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9867da;
/* rgb */ color: rgb(152, 103, 218);
/* oklch */ color: oklch(61.6% 0.171 301.2);
Tailwind
colors: {
  custom: {
    50: '#b994e6',
    500: '#9867da',
    950: '#000000',
  },
}
SCSS
$custom: #9867da;
$custom-light: #b994e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9867da",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 218
  },
  "hsl": {
    "h": 265.565,
    "s": 60.847,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61637,
    "c": 0.17135,
    "h": 301.2
  },
  "luminance": 0.21438
}

Semantic roles & 50–950 ramp

primary
#9867DA
secondary
#D1E3BA
accent
#C91D7F
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9867DA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9867DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva