#9863D5#9863D5

#9863D5 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.7% C 0.171 H 303.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9863D5
RGBrgb(152, 99, 213)
HSLhsl(268, 58%, 61%)
HSVhsv(268, 54%, 84%)
CMYKcmyk(28.6%, 53.5%, 0%, 16.5%)
CIE-LABlab(52.29, 43.86, -50.94)
CIE-LCHlch(52.29, 67.22, 310.73°)
OKLaboklab(60.71% 0.0937 -0.1436)
OKLCHoklch(60.71% 0.171 303.1)
XYZxyz(29.4183, 20.4032, 65.3263)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9863D5 #A0D563
analogous
#6367D5 #9863D5 #D163D5
triadic
#9863D5 #D59863 #63D598
tetradic
#9863D5 #D56367 #A0D563 #63D5D1
square
#9863D5 #D56367 #A0D563 #63D5D1
split-complementary
#9863D5 #D5D163 #67D563
monochromatic
#5B2895 #7835C6 #9863D5 #B893E2 #D8C3EF

Accessibility & contrast

On white

4.13
#9863D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9863D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9863D5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9863D5#FFFFFF#000000##000000
##9863D51.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7CD9
Deuteranopia (green-blind)
#4B7DD2
Tritanopia (blue-blind)
#8D7993
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9863d5;
/* rgb */ color: rgb(152, 99, 213);
/* oklch */ color: oklch(60.7% 0.171 303.1);
Tailwind
colors: {
  custom: {
    50: '#b991e2',
    500: '#9863d5',
    950: '#000000',
  },
}
SCSS
$custom: #9863d5;
$custom-light: #b991e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9863d5",
  "rgb": {
    "r": 152,
    "g": 99,
    "b": 213
  },
  "hsl": {
    "h": 267.895,
    "s": 57.576,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.17141,
    "h": 303.1
  },
  "luminance": 0.20403
}

Semantic roles & 50–950 ramp

primary
#9863D5
secondary
#CBDFB4
accent
#C52079
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9863D5

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

Preview Lab → · Contrast checker → · Palette generator →

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