#9861DF#9861DF

#9861DF is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.0% C 0.186 H 301.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9861DF
RGBrgb(152, 97, 223)
HSLhsl(266, 66%, 63%)
HSVhsv(266, 57%, 87%)
CMYKcmyk(31.8%, 56.5%, 0%, 12.5%)
CIE-LABlab(52.46, 47.39, -56.34)
CIE-LCHlch(52.46, 73.62, 310.07°)
OKLaboklab(61.02% 0.0965 -0.1594)
OKLCHoklch(61.02% 0.186 301.2)
XYZxyz(30.5397, 20.5524, 72.1558)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861DF #A8DF61
analogous
#6169DF #9861DF #D761DF
triadic
#9861DF #DF9861 #61DF98
tetradic
#9861DF #DF6169 #A8DF61 #61DFD7
square
#9861DF #DF6169 #A8DF61 #61DFD7
split-complementary
#9861DF #DFD761 #69DF61
monochromatic
#5A21A4 #772ED5 #9861DF #B994E9 #DAC7F4

Accessibility & contrast

On white

4.11
#9861DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9861DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861DF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861DF#FFFFFF#000000##000000
##9861DF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#297CE3
Deuteranopia (green-blind)
#3F7DDC
Tritanopia (blue-blind)
#8A7A97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9861df;
/* rgb */ color: rgb(152, 97, 223);
/* oklch */ color: oklch(61.0% 0.186 301.2);
Tailwind
colors: {
  custom: {
    50: '#ba90ea',
    500: '#9861df',
    950: '#000000',
  },
}
SCSS
$custom: #9861df;
$custom-light: #ba90ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9861df",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 266.19,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61017,
    "c": 0.18633,
    "h": 301.2
  },
  "luminance": 0.20553
}

Semantic roles & 50–950 ramp

primary
#9861DF
secondary
#D1E5B7
accent
#CE177E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9861DF

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

Preview Lab → · Contrast checker → · Palette generator →

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