#9868F2#9868F2

#9868F2 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.3% C 0.199 H 296.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9868F2
RGBrgb(152, 104, 242)
HSLhsl(261, 84%, 68%)
HSVhsv(261, 57%, 95%)
CMYKcmyk(37.2%, 57%, 0%, 5.1%)
CIE-LABlab(55.06, 48.38, -62.82)
CIE-LCHlch(55.06, 79.29, 307.60°)
OKLaboklab(63.3% 0.0882 -0.1784)
OKLCHoklch(63.3% 0.199 296.3)
XYZxyz(33.9221, 22.9862, 86.6368)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868F2 #C2F268
analogous
#687DF2 #9868F2 #DD68F2
triadic
#9868F2 #F29868 #68F298
tetradic
#9868F2 #F2687D #C2F268 #68F2DD
square
#9868F2 #F2687D #C2F268 #68F2DD
split-complementary
#9868F2 #F2DD68 #7DF268
monochromatic
#5312CE #7230ED #9868F2 #BEA0F7 #E5D9FC

Accessibility & contrast

On white

3.75
#9868F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#9868F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868F2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868F2#FFFFFF#000000##000000
##9868F21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C85F7
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#8285A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9868f2;
/* rgb */ color: rgb(152, 104, 242);
/* oklch */ color: oklch(63.3% 0.199 296.3);
Tailwind
colors: {
  custom: {
    50: '#bb95f7',
    500: '#9868f2',
    950: '#000000',
  },
}
SCSS
$custom: #9868f2;
$custom-light: #bb95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9868f2",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 260.87,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63298,
    "c": 0.19899,
    "h": 296.3
  },
  "luminance": 0.22987
}

Semantic roles & 50–950 ramp

primary
#9868F2
secondary
#E1F0C6
accent
#E10594
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9868F2

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

Preview Lab → · Contrast checker → · Palette generator →

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