#9867F2#9867F2

#9867F2 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.1% C 0.200 H 296.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9867F2
RGBrgb(152, 103, 242)
HSLhsl(261, 84%, 68%)
HSVhsv(261, 57%, 95%)
CMYKcmyk(37.2%, 57.4%, 0%, 5.1%)
CIE-LABlab(54.85, 48.92, -63.15)
CIE-LCHlch(54.85, 79.88, 307.77°)
OKLaboklab(63.15% 0.0893 -0.1794)
OKLCHoklch(63.15% 0.2 296.5)
XYZxyz(33.8221, 22.7861, 86.6034)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867F2 #C1F267
analogous
#677CF2 #9867F2 #DD67F2
triadic
#9867F2 #F29867 #67F298
tetradic
#9867F2 #F2677C #C1F267 #67F2DD
square
#9867F2 #F2677C #C1F267 #67F2DD
split-complementary
#9867F2 #F2DD67 #7CF267
monochromatic
#5412CD #722FED #9867F2 #BE9FF7 #E4D8FC

Accessibility & contrast

On white

3.78
#9867F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#9867F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867F2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867F2#FFFFFF#000000##000000
##9867F21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1784F7
Deuteranopia (green-blind)
#3081EF
Tritanopia (blue-blind)
#8285A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9867f2;
/* rgb */ color: rgb(152, 103, 242);
/* oklch */ color: oklch(63.1% 0.200 296.5);
Tailwind
colors: {
  custom: {
    50: '#bb94f7',
    500: '#9867f2',
    950: '#000000',
  },
}
SCSS
$custom: #9867f2;
$custom-light: #bb94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9867f2",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 261.151,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63146,
    "c": 0.20039,
    "h": 296.5
  },
  "luminance": 0.22787
}

Semantic roles & 50–950 ramp

primary
#9867F2
secondary
#E1F0C5
accent
#E10593
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9867F2

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

Preview Lab → · Contrast checker → · Palette generator →

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