#9863DC#9863DC

#9863DC is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.1% C 0.180 H 301.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9863DC
RGBrgb(152, 99, 220)
HSLhsl(266, 63%, 63%)
HSVhsv(266, 55%, 86%)
CMYKcmyk(30.9%, 55%, 0%, 13.7%)
CIE-LABlab(52.69, 45.57, -54.27)
CIE-LCHlch(52.69, 70.86, 310.02°)
OKLaboklab(61.13% 0.094 -0.1533)
OKLCHoklch(61.13% 0.18 301.5)
XYZxyz(30.3260, 20.7663, 70.1069)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9863DC #A7DC63
analogous
#636ADC #9863DC #D563DC
triadic
#9863DC #DC9863 #63DC98
tetradic
#9863DC #DC636A #A7DC63 #63DCD5
square
#9863DC #DC636A #A7DC63 #63DCD5
split-complementary
#9863DC #DCD563 #6ADC63
monochromatic
#5B24A1 #7731D1 #9863DC #B995E7 #DAC7F2

Accessibility & contrast

On white

4.08
#9863DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9863DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9863DC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9863DC#FFFFFF#000000##000000
##9863DC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DE0
Deuteranopia (green-blind)
#457DD9
Tritanopia (blue-blind)
#8B7B96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9863dc;
/* rgb */ color: rgb(152, 99, 220);
/* oklch */ color: oklch(61.1% 0.180 301.5);
Tailwind
colors: {
  custom: {
    50: '#ba91e7',
    500: '#9863dc',
    950: '#000000',
  },
}
SCSS
$custom: #9863dc;
$custom-light: #ba91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9863dc",
  "rgb": {
    "r": 152,
    "g": 99,
    "b": 220
  },
  "hsl": {
    "h": 266.281,
    "s": 63.351,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61134,
    "c": 0.1798,
    "h": 301.5
  },
  "luminance": 0.20766
}

Semantic roles & 50–950 ramp

primary
#9863DC
secondary
#D0E3B7
accent
#CB1A7E
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9863DC

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

Preview Lab → · Contrast checker → · Palette generator →

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