#9862F6#9862F6

#9862F6 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.7% C 0.212 H 296.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9862F6
RGBrgb(152, 98, 246)
HSLhsl(262, 89%, 67%)
HSVhsv(262, 60%, 96%)
CMYKcmyk(38.2%, 60.2%, 0%, 3.5%)
CIE-LABlab(54.09, 52.62, -66.59)
CIE-LCHlch(54.09, 84.87, 308.31°)
OKLaboklab(62.67% 0.0949 -0.1895)
OKLCHoklch(62.67% 0.212 296.6)
XYZxyz(33.9468, 22.0640, 89.6412)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9862F6 #C0F662
analogous
#6276F6 #9862F6 #E262F6
triadic
#9862F6 #F69862 #62F698
tetradic
#9862F6 #F66276 #C0F662 #62F6E2
square
#9862F6 #F66276 #C0F662 #62F6E2
split-complementary
#9862F6 #F6E262 #76F662
monochromatic
#540CD2 #7228F3 #9862F6 #BE9CF9 #E4D6FD

Accessibility & contrast

On white

3.88
#9862F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#9862F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9862F6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9862F6#FFFFFF#000000##000000
##9862F61.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#1A7FF3
Tritanopia (blue-blind)
#8183A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9862f6;
/* rgb */ color: rgb(152, 98, 246);
/* oklch */ color: oklch(62.7% 0.212 296.6);
Tailwind
colors: {
  custom: {
    50: '#bc91fa',
    500: '#9862f6',
    950: '#000000',
  },
}
SCSS
$custom: #9862f6;
$custom-light: #bc91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9862f6",
  "rgb": {
    "r": 152,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 261.892,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62674,
    "c": 0.21194,
    "h": 296.6
  },
  "luminance": 0.22065
}

Semantic roles & 50–950 ramp

primary
#9862F6
secondary
#E0F1C3
accent
#E60092
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9862F6

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

Preview Lab → · Contrast checker → · Palette generator →

#9862F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva