#9861FA#9861FA

#9861FA is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.8% C 0.218 H 296.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9861FA
RGBrgb(152, 97, 250)
HSLhsl(262, 94%, 68%)
HSVhsv(262, 61%, 98%)
CMYKcmyk(39.2%, 61.2%, 0%, 2%)
CIE-LABlab(54.16, 54.16, -68.71)
CIE-LCHlch(54.16, 87.49, 308.25°)
OKLaboklab(62.81% 0.0958 -0.1957)
OKLCHoklch(62.81% 0.218 296.1)
XYZxyz(34.4744, 22.1262, 92.8784)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861FA #C3FA61
analogous
#6176FA #9861FA #E561FA
triadic
#9861FA #FA9861 #61FA98
tetradic
#9861FA #FA6176 #C3FA61 #61FAE5
square
#9861FA #FA6176 #C3FA61 #61FAE5
split-complementary
#9861FA #FAE561 #76FA61
monochromatic
#5307DA #7126F8 #9861FA #BF9CFC #E5D8FE

Accessibility & contrast

On white

3.87
#9861FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#9861FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861FA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861FA#FFFFFF#000000##000000
##9861FA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#017FF7
Tritanopia (blue-blind)
#8083A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9861fa;
/* rgb */ color: rgb(152, 97, 250);
/* oklch */ color: oklch(62.8% 0.218 296.1);
Tailwind
colors: {
  custom: {
    50: '#bc90fd',
    500: '#9861fa',
    950: '#000000',
  },
}
SCSS
$custom: #9861fa;
$custom-light: #bc90fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9861fa",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 250
  },
  "hsl": {
    "h": 261.569,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62806,
    "c": 0.21791,
    "h": 296.1
  },
  "luminance": 0.22127
}

Semantic roles & 50–950 ramp

primary
#9861FA
secondary
#E2F3C4
accent
#E60093
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9861FA

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

Preview Lab → · Contrast checker → · Palette generator →

#9861FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva