#9862FD#9862FD

#9862FD is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.2% C 0.220 H 295.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9862FD
RGBrgb(152, 98, 253)
HSLhsl(261, 97%, 69%)
HSVhsv(261, 61%, 99%)
CMYKcmyk(39.9%, 61.3%, 0%, 0.8%)
CIE-LABlab(54.56, 54.41, -69.74)
CIE-LCHlch(54.56, 88.45, 307.96°)
OKLaboklab(63.16% 0.0945 -0.1987)
OKLCHoklch(63.16% 0.22 295.4)
XYZxyz(35.0415, 22.5019, 95.4065)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9862FD #C7FD62
analogous
#627AFD #9862FD #E562FD
triadic
#9862FD #FD9862 #62FD98
tetradic
#9862FD #FD627A #C7FD62 #62FDE5
square
#9862FD #FD627A #C7FD62 #62FDE5
split-complementary
#9862FD #FDE562 #7AFD62
monochromatic
#5103E2 #7026FC #9862FD #C09EFE #E7DBFF

Accessibility & contrast

On white

3.82
#9862FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9862FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9862FD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9862FD#FFFFFF#000000##000000
##9862FD1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#0080FA
Tritanopia (blue-blind)
#7E85A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9862fd;
/* rgb */ color: rgb(152, 98, 253);
/* oklch */ color: oklch(63.2% 0.220 295.4);
Tailwind
colors: {
  custom: {
    50: '#bc91ff',
    500: '#9862fd',
    950: '#000000',
  },
}
SCSS
$custom: #9862fd;
$custom-light: #bc91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9862fd",
  "rgb": {
    "r": 152,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 260.903,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63156,
    "c": 0.22008,
    "h": 295.4
  },
  "luminance": 0.22503
}

Semantic roles & 50–950 ramp

primary
#9862FD
secondary
#E4F4C6
accent
#E60096
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9862FD

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

Preview Lab → · Contrast checker → · Palette generator →

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