#9863DB#9863DB

#9863DB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.1% C 0.179 H 301.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9863DB
RGBrgb(152, 99, 219)
HSLhsl(267, 63%, 62%)
HSVhsv(267, 55%, 86%)
CMYKcmyk(30.6%, 54.8%, 0%, 14.1%)
CIE-LABlab(52.63, 45.33, -53.79)
CIE-LCHlch(52.63, 70.34, 310.12°)
OKLaboklab(61.07% 0.0939 -0.1519)
OKLCHoklch(61.07% 0.179 301.7)
XYZxyz(30.1940, 20.7135, 69.4115)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9863DB #A6DB63
analogous
#636ADB #9863DB #D463DB
triadic
#9863DB #DB9863 #63DB98
tetradic
#9863DB #DB636A #A6DB63 #63DBD4
square
#9863DB #DB636A #A6DB63 #63DBD4
split-complementary
#9863DB #DBD463 #6ADB63
monochromatic
#5B259F #7731D0 #9863DB #B995E6 #DAC6F2

Accessibility & contrast

On white

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

On black

5.14
#9863DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9863DB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9863DB#FFFFFF#000000##000000
##9863DB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#347DDF
Deuteranopia (green-blind)
#467DD8
Tritanopia (blue-blind)
#8B7A96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9863db;
/* rgb */ color: rgb(152, 99, 219);
/* oklch */ color: oklch(61.1% 0.179 301.7);
Tailwind
colors: {
  custom: {
    50: '#ba91e7',
    500: '#9863db',
    950: '#000000',
  },
}
SCSS
$custom: #9863db;
$custom-light: #ba91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9863db",
  "rgb": {
    "r": 152,
    "g": 99,
    "b": 219
  },
  "hsl": {
    "h": 266.5,
    "s": 62.5,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.1786,
    "h": 301.7
  },
  "luminance": 0.20714
}

Semantic roles & 50–950 ramp

primary
#9863DB
secondary
#CFE3B7
accent
#CA1B7D
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9863DB

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

Preview Lab → · Contrast checker → · Palette generator →

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