#9860DA#9860DA

#9860DA is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.6% C 0.182 H 302.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9860DA
RGBrgb(152, 96, 218)
HSLhsl(268, 62%, 62%)
HSVhsv(268, 56%, 85%)
CMYKcmyk(30.3%, 56%, 0%, 14.5%)
CIE-LABlab(51.95, 46.71, -54.32)
CIE-LCHlch(51.95, 71.64, 310.69°)
OKLaboklab(60.55% 0.0977 -0.1534)
OKLCHoklch(60.55% 0.182 302.5)
XYZxyz(29.7838, 20.1031, 68.6273)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860DA #A2DA60
analogous
#6065DA #9860DA #D560DA
triadic
#9860DA #DA9860 #60DA98
tetradic
#9860DA #DA6065 #A2DA60 #60DAD5
square
#9860DA #DA6065 #A2DA60 #60DAD5
split-complementary
#9860DA #DAD560 #65DA60
monochromatic
#5B249B #7830CD #9860DA #B892E6 #D8C3F1

Accessibility & contrast

On white

4.18
#9860DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9860DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860DA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860DA#FFFFFF#000000##000000
##9860DA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7BDE
Deuteranopia (green-blind)
#437CD7
Tritanopia (blue-blind)
#8B7894
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9860da;
/* rgb */ color: rgb(152, 96, 218);
/* oklch */ color: oklch(60.6% 0.182 302.5);
Tailwind
colors: {
  custom: {
    50: '#ba8fe6',
    500: '#9860da',
    950: '#000000',
  },
}
SCSS
$custom: #9860da;
$custom-light: #ba8fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9860da",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 218
  },
  "hsl": {
    "h": 267.541,
    "s": 62.245,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60552,
    "c": 0.18189,
    "h": 302.5
  },
  "luminance": 0.20103
}

Semantic roles & 50–950 ramp

primary
#9860DA
secondary
#CDE2B4
accent
#CA1C7A
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9860DA

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

Preview Lab → · Contrast checker → · Palette generator →

#9860DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva