#9869DD#9869DD

#9869DD is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.1% C 0.172 H 300.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9869DD
RGBrgb(152, 105, 221)
HSLhsl(264, 63%, 64%)
HSVhsv(264, 52%, 87%)
CMYKcmyk(31.2%, 52.5%, 0%, 13.3%)
CIE-LABlab(54.03, 42.52, -52.70)
CIE-LCHlch(54.03, 67.71, 308.90°)
OKLaboklab(62.14% 0.0864 -0.1487)
OKLCHoklch(62.14% 0.172 300.1)
XYZxyz(31.0485, 21.9988, 71.0030)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869DD #AEDD69
analogous
#6974DD #9869DD #D269DD
triadic
#9869DD #DD9869 #69DD98
tetradic
#9869DD #DD6974 #AEDD69 #69DDD2
square
#9869DD #DD6974 #AEDD69 #69DDD2
split-complementary
#9869DD #DDD269 #74DD69
monochromatic
#5A26A6 #7637D2 #9869DD #BA9BE8 #DDCDF4

Accessibility & contrast

On white

3.89
#9869DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9869DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869DD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869DD#FFFFFF#000000##000000
##9869DD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E1
Deuteranopia (green-blind)
#4C80DA
Tritanopia (blue-blind)
#8A7F99
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9869dd;
/* rgb */ color: rgb(152, 105, 221);
/* oklch */ color: oklch(62.1% 0.172 300.1);
Tailwind
colors: {
  custom: {
    50: '#ba95e8',
    500: '#9869dd',
    950: '#000000',
  },
}
SCSS
$custom: #9869dd;
$custom-light: #ba95e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9869dd",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 221
  },
  "hsl": {
    "h": 264.31,
    "s": 63.043,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62137,
    "c": 0.17198,
    "h": 300.1
  },
  "luminance": 0.21999
}

Semantic roles & 50–950 ramp

primary
#9869DD
secondary
#D5E5BD
accent
#CB1B83
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9869DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9869DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva