#9861DE#9861DE

#9861DE is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.0% C 0.185 H 301.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9861DE
RGBrgb(152, 97, 222)
HSLhsl(266, 65%, 63%)
HSVhsv(266, 56%, 87%)
CMYKcmyk(31.5%, 56.3%, 0%, 12.9%)
CIE-LABlab(52.40, 47.15, -55.87)
CIE-LCHlch(52.40, 73.11, 310.16°)
OKLaboklab(60.95% 0.0965 -0.158)
OKLCHoklch(60.95% 0.185 301.4)
XYZxyz(30.4053, 20.4986, 71.4478)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861DE #A7DE61
analogous
#6168DE #9861DE #D661DE
triadic
#9861DE #DE9861 #61DE98
tetradic
#9861DE #DE6168 #A7DE61 #61DED6
square
#9861DE #DE6168 #A7DE61 #61DED6
split-complementary
#9861DE #DED661 #68DE61
monochromatic
#5B22A3 #772ED3 #9861DE #B994E9 #DAC6F3

Accessibility & contrast

On white

4.12
#9861DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9861DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861DE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861DE#FFFFFF#000000##000000
##9861DE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7CE2
Deuteranopia (green-blind)
#407CDB
Tritanopia (blue-blind)
#8A7A96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9861de;
/* rgb */ color: rgb(152, 97, 222);
/* oklch */ color: oklch(61.0% 0.185 301.4);
Tailwind
colors: {
  custom: {
    50: '#ba90e9',
    500: '#9861de',
    950: '#000000',
  },
}
SCSS
$custom: #9861de;
$custom-light: #ba90e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9861de",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 222
  },
  "hsl": {
    "h": 266.4,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60954,
    "c": 0.18514,
    "h": 301.4
  },
  "luminance": 0.20499
}

Semantic roles & 50–950 ramp

primary
#9861DE
secondary
#D0E4B7
accent
#CD187E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9861DE

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

Preview Lab → · Contrast checker → · Palette generator →

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