#9869D2#9869D2

#9869D2 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.5% C 0.158 H 302.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9869D2
RGBrgb(152, 105, 210)
HSLhsl(267, 54%, 62%)
HSVhsv(267, 50%, 82%)
CMYKcmyk(27.6%, 50%, 0%, 17.6%)
CIE-LABlab(53.42, 39.81, -47.44)
CIE-LCHlch(53.42, 61.93, 310.00°)
OKLaboklab(61.49% 0.0855 -0.1333)
OKLCHoklch(61.49% 0.158 302.7)
XYZxyz(29.6307, 21.4317, 63.5360)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869D2 #A3D269
analogous
#696FD2 #9869D2 #CD69D2
triadic
#9869D2 #D29869 #69D298
tetradic
#9869D2 #D2696F #A3D269 #69D2CD
square
#9869D2 #D2696F #A3D269 #69D2CD
split-complementary
#9869D2 #D2CD69 #6FD269
monochromatic
#5B2C94 #783BC3 #9869D2 #B898E0 #D9C7EE

Accessibility & contrast

On white

3.97
#9869D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9869D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869D2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869D2#FFFFFF#000000##000000
##9869D21.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)
#487FD6
Deuteranopia (green-blind)
#557FCF
Tritanopia (blue-blind)
#8D7C94
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9869d2;
/* rgb */ color: rgb(152, 105, 210);
/* oklch */ color: oklch(61.5% 0.158 302.7);
Tailwind
colors: {
  custom: {
    50: '#b995e0',
    500: '#9869d2',
    950: '#000000',
  },
}
SCSS
$custom: #9869d2;
$custom-light: #b995e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9869d2",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 210
  },
  "hsl": {
    "h": 266.857,
    "s": 53.846,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.15841,
    "h": 302.7
  },
  "luminance": 0.21432
}

Semantic roles & 50–950 ramp

primary
#9869D2
secondary
#CDDFB8
accent
#C1247B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9869D2

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

Preview Lab → · Contrast checker → · Palette generator →

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