#9863DD#9863DD

#9863DD is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.2% C 0.181 H 301.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9863DD
RGBrgb(152, 99, 221)
HSLhsl(266, 64%, 63%)
HSVhsv(266, 55%, 87%)
CMYKcmyk(31.2%, 55.2%, 0%, 13.3%)
CIE-LABlab(52.75, 45.82, -54.74)
CIE-LCHlch(52.75, 71.38, 309.93°)
OKLaboklab(61.2% 0.094 -0.1547)
OKLCHoklch(61.2% 0.181 301.3)
XYZxyz(30.4588, 20.8194, 70.8065)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9863DD #A8DD63
analogous
#636BDD #9863DD #D563DD
triadic
#9863DD #DD9863 #63DD98
tetradic
#9863DD #DD636B #A8DD63 #63DDD5
square
#9863DD #DD636B #A8DD63 #63DDD5
split-complementary
#9863DD #DDD563 #6BDD63
monochromatic
#5A23A2 #7731D2 #9863DD #B995E8 #DAC7F3

Accessibility & contrast

On white

4.07
#9863DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9863DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9863DD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9863DD#FFFFFF#000000##000000
##9863DD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#317DE1
Deuteranopia (green-blind)
#447DDA
Tritanopia (blue-blind)
#8A7B97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9863dd;
/* rgb */ color: rgb(152, 99, 221);
/* oklch */ color: oklch(61.2% 0.181 301.3);
Tailwind
colors: {
  custom: {
    50: '#ba91e8',
    500: '#9863dd',
    950: '#000000',
  },
}
SCSS
$custom: #9863dd;
$custom-light: #ba91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9863dd",
  "rgb": {
    "r": 152,
    "g": 99,
    "b": 221
  },
  "hsl": {
    "h": 266.066,
    "s": 64.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61196,
    "c": 0.181,
    "h": 301.3
  },
  "luminance": 0.2082
}

Semantic roles & 50–950 ramp

primary
#9863DD
secondary
#D1E4B8
accent
#CC197E
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9863DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9863DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva