#9867F3#9867F3

#9867F3 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.2% C 0.202 H 296.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9867F3
RGBrgb(152, 103, 243)
HSLhsl(261, 85%, 68%)
HSVhsv(261, 58%, 95%)
CMYKcmyk(37.4%, 57.6%, 0%, 4.7%)
CIE-LABlab(54.91, 49.18, -63.60)
CIE-LCHlch(54.91, 80.40, 307.71°)
OKLaboklab(63.21% 0.0893 -0.1807)
OKLCHoklch(63.21% 0.202 296.3)
XYZxyz(33.9726, 22.8464, 87.3965)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867F3 #C2F367
analogous
#677CF3 #9867F3 #DE67F3
triadic
#9867F3 #F39867 #67F398
tetradic
#9867F3 #F3677C #C2F367 #67F3DE
square
#9867F3 #F3677C #C2F367 #67F3DE
split-complementary
#9867F3 #F3DE67 #7CF367
monochromatic
#5310CF #722EEF #9867F3 #BEA0F7 #E5D8FC

Accessibility & contrast

On white

3.77
#9867F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9867F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867F3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867F3#FFFFFF#000000##000000
##9867F31.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1484F8
Deuteranopia (green-blind)
#2E82F0
Tritanopia (blue-blind)
#8285A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9867f3;
/* rgb */ color: rgb(152, 103, 243);
/* oklch */ color: oklch(63.2% 0.202 296.3);
Tailwind
colors: {
  custom: {
    50: '#bb94f8',
    500: '#9867f3',
    950: '#000000',
  },
}
SCSS
$custom: #9867f3;
$custom-light: #bb94f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9867f3",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 243
  },
  "hsl": {
    "h": 261,
    "s": 85.366,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63212,
    "c": 0.20159,
    "h": 296.3
  },
  "luminance": 0.22847
}

Semantic roles & 50–950 ramp

primary
#9867F3
secondary
#E1F0C5
accent
#E20494
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9867F3

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

Preview Lab → · Contrast checker → · Palette generator →

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