#9863D2#9863D2

#9863D2 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.168 H 303.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9863D2
RGBrgb(152, 99, 210)
HSLhsl(269, 55%, 61%)
HSVhsv(269, 53%, 82%)
CMYKcmyk(27.6%, 52.9%, 0%, 17.6%)
CIE-LABlab(52.12, 43.14, -49.51)
CIE-LCHlch(52.12, 65.66, 311.07°)
OKLaboklab(60.53% 0.0935 -0.1393)
OKLCHoklch(60.53% 0.168 303.9)
XYZxyz(29.0410, 20.2523, 63.3394)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9863D2 #9DD263
analogous
#6365D2 #9863D2 #D063D2
triadic
#9863D2 #D29863 #63D298
tetradic
#9863D2 #D26365 #9DD263 #63D2D0
square
#9863D2 #D26365 #9DD263 #63D2D0
split-complementary
#9863D2 #D2D063 #65D263
monochromatic
#5B2A91 #7937C0 #9863D2 #B792E0 #D7C2ED

Accessibility & contrast

On white

4.16
#9863D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9863D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9863D2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9863D2#FFFFFF#000000##000000
##9863D21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7BD6
Deuteranopia (green-blind)
#4E7CCF
Tritanopia (blue-blind)
#8E7891
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9863d2;
/* rgb */ color: rgb(152, 99, 210);
/* oklch */ color: oklch(60.5% 0.168 303.9);
Tailwind
colors: {
  custom: {
    50: '#b991e0',
    500: '#9863d2',
    950: '#000000',
  },
}
SCSS
$custom: #9863d2;
$custom-light: #b991e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9863d2",
  "rgb": {
    "r": 152,
    "g": 99,
    "b": 210
  },
  "hsl": {
    "h": 268.649,
    "s": 55.224,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60528,
    "c": 0.16781,
    "h": 303.9
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

primary
#9863D2
secondary
#C9DEB3
accent
#C32376
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9863D2

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

Preview Lab → · Contrast checker → · Palette generator →

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