#9867F7#9867F7

#9867F7 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.5% C 0.206 H 295.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9867F7
RGBrgb(152, 103, 247)
HSLhsl(260, 90%, 69%)
HSVhsv(260, 58%, 97%)
CMYKcmyk(38.5%, 58.3%, 0%, 3.1%)
CIE-LABlab(55.17, 50.21, -65.42)
CIE-LCHlch(55.17, 82.47, 307.50°)
OKLaboklab(63.48% 0.0892 -0.1861)
OKLCHoklch(63.48% 0.206 295.6)
XYZxyz(34.5833, 23.0906, 90.6125)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867F7 #C6F767
analogous
#677EF7 #9867F7 #E067F7
triadic
#9867F7 #F79867 #67F798
tetradic
#9867F7 #F7677E #C6F767 #67F7E0
square
#9867F7 #F7677E #C6F767 #67F7E0
split-complementary
#9867F7 #F7E067 #7EF767
monochromatic
#510BD8 #712DF4 #9867F7 #BFA1FA #E7DBFD

Accessibility & contrast

On white

3.74
#9867F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#9867F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867F7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867F7#FFFFFF#000000##000000
##9867F71.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#2782F4
Tritanopia (blue-blind)
#8086A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9867f7;
/* rgb */ color: rgb(152, 103, 247);
/* oklch */ color: oklch(63.5% 0.206 295.6);
Tailwind
colors: {
  custom: {
    50: '#bc94fb',
    500: '#9867f7',
    950: '#000000',
  },
}
SCSS
$custom: #9867f7;
$custom-light: #bc94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9867f7",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 247
  },
  "hsl": {
    "h": 260.417,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63477,
    "c": 0.20635,
    "h": 295.6
  },
  "luminance": 0.23091
}

Semantic roles & 50–950 ramp

primary
#9867F7
secondary
#E4F2C7
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9867F7

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

Preview Lab → · Contrast checker → · Palette generator →

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