#9868F4#9868F4

#9868F4 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.4% C 0.201 H 296.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9868F4
RGBrgb(152, 104, 244)
HSLhsl(261, 86%, 68%)
HSVhsv(261, 57%, 96%)
CMYKcmyk(37.7%, 57.4%, 0%, 4.3%)
CIE-LABlab(55.18, 48.89, -63.73)
CIE-LCHlch(55.18, 80.32, 307.50°)
OKLaboklab(63.43% 0.0881 -0.1811)
OKLCHoklch(63.43% 0.201 296)
XYZxyz(34.2241, 23.1070, 88.2274)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868F4 #C4F468
analogous
#687EF4 #9868F4 #DE68F4
triadic
#9868F4 #F49868 #68F498
tetradic
#9868F4 #F4687E #C4F468 #68F4DE
square
#9868F4 #F4687E #C4F468 #68F4DE
split-complementary
#9868F4 #F4DE68 #7EF468
monochromatic
#520FD2 #712FF0 #9868F4 #BFA1F8 #E6DAFC

Accessibility & contrast

On white

3.74
#9868F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#9868F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868F4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868F4#FFFFFF#000000##000000
##9868F41.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)
#1685F9
Deuteranopia (green-blind)
#2F82F1
Tritanopia (blue-blind)
#8286A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9868f4;
/* rgb */ color: rgb(152, 104, 244);
/* oklch */ color: oklch(63.4% 0.201 296.0);
Tailwind
colors: {
  custom: {
    50: '#bb95f8',
    500: '#9868f4',
    950: '#000000',
  },
}
SCSS
$custom: #9868f4;
$custom-light: #bb95f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9868f4",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 244
  },
  "hsl": {
    "h": 260.571,
    "s": 86.42,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63429,
    "c": 0.20139,
    "h": 296
  },
  "luminance": 0.23108
}

Semantic roles & 50–950 ramp

primary
#9868F4
secondary
#E3F1C7
accent
#E30396
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9868F4

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

Preview Lab → · Contrast checker → · Palette generator →

#9868F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva