#9863DE#9863DE

#9863DE is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.3% C 0.182 H 301.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9863DE
RGBrgb(152, 99, 222)
HSLhsl(266, 65%, 63%)
HSVhsv(266, 55%, 87%)
CMYKcmyk(31.5%, 55.4%, 0%, 12.9%)
CIE-LABlab(52.81, 46.06, -55.21)
CIE-LCHlch(52.81, 71.90, 309.84°)
OKLaboklab(61.26% 0.094 -0.1561)
OKLCHoklch(61.26% 0.182 301.1)
XYZxyz(30.5925, 20.8729, 71.5102)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9863DE #A9DE63
analogous
#636BDE #9863DE #D663DE
triadic
#9863DE #DE9863 #63DE98
tetradic
#9863DE #DE636B #A9DE63 #63DED6
square
#9863DE #DE636B #A9DE63 #63DED6
split-complementary
#9863DE #DED663 #6BDE63
monochromatic
#5A23A4 #7730D3 #9863DE #B996E9 #DBC8F3

Accessibility & contrast

On white

4.06
#9863DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9863DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9863DE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9863DE#FFFFFF#000000##000000
##9863DE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#307DE2
Deuteranopia (green-blind)
#437DDB
Tritanopia (blue-blind)
#8A7B97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9863de;
/* rgb */ color: rgb(152, 99, 222);
/* oklch */ color: oklch(61.3% 0.182 301.1);
Tailwind
colors: {
  custom: {
    50: '#ba91e9',
    500: '#9863de',
    950: '#000000',
  },
}
SCSS
$custom: #9863de;
$custom-light: #ba91e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9863de",
  "rgb": {
    "r": 152,
    "g": 99,
    "b": 222
  },
  "hsl": {
    "h": 265.854,
    "s": 65.079,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61258,
    "c": 0.18219,
    "h": 301.1
  },
  "luminance": 0.20873
}

Semantic roles & 50–950 ramp

primary
#9863DE
secondary
#D1E5B8
accent
#CD197F
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9863DE

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

Preview Lab → · Contrast checker → · Palette generator →

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