#9863CD#9863CD

#9863CD is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.2% C 0.162 H 305.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9863CD
RGBrgb(152, 99, 205)
HSLhsl(270, 51%, 60%)
HSVhsv(270, 52%, 80%)
CMYKcmyk(25.9%, 51.7%, 0%, 19.6%)
CIE-LABlab(51.85, 41.94, -47.09)
CIE-LCHlch(51.85, 63.06, 311.69°)
OKLaboklab(60.23% 0.0931 -0.1323)
OKLCHoklch(60.23% 0.162 305.1)
XYZxyz(28.4278, 20.0070, 60.1099)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9863CD #98CD63
analogous
#6363CD #9863CD #CD63CD
triadic
#9863CD #CD9863 #63CD98
tetradic
#9863CD #CD6363 #98CD63 #63CDCD
square
#9863CD #CD6363 #98CD63 #63CDCD
split-complementary
#9863CD #CDCD63 #63CD63
monochromatic
#5B2C8A #793BB8 #9863CD #B791DC #D5C0EB

Accessibility & contrast

On white

4.20
#9863CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9863CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9863CD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9863CD#FFFFFF#000000##000000
##9863CD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#527CCA
Tritanopia (blue-blind)
#8F768F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9863cd;
/* rgb */ color: rgb(152, 99, 205);
/* oklch */ color: oklch(60.2% 0.162 305.1);
Tailwind
colors: {
  custom: {
    50: '#b991dd',
    500: '#9863cd',
    950: '#000000',
  },
}
SCSS
$custom: #9863cd;
$custom-light: #b991dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9863cd",
  "rgb": {
    "r": 152,
    "g": 99,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 51.456,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60234,
    "c": 0.1618,
    "h": 305.1
  },
  "luminance": 0.20007
}

Semantic roles & 50–950 ramp

primary
#9863CD
secondary
#C6DAB1
accent
#DB4D94
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9863CD

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

Preview Lab → · Contrast checker → · Palette generator →

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