#9863E5#9863E5

#9863E5 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.7% C 0.191 H 299.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9863E5
RGBrgb(152, 99, 229)
HSLhsl(264, 71%, 64%)
HSVhsv(264, 57%, 90%)
CMYKcmyk(33.6%, 56.8%, 0%, 10.2%)
CIE-LABlab(53.23, 47.80, -58.48)
CIE-LCHlch(53.23, 75.53, 309.26°)
OKLaboklab(61.7% 0.0941 -0.1657)
OKLCHoklch(61.7% 0.191 299.6)
XYZxyz(31.5502, 21.2560, 76.5542)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9863E5 #B0E563
analogous
#636FE5 #9863E5 #D963E5
triadic
#9863E5 #E59863 #63E598
tetradic
#9863E5 #E5636F #B0E563 #63E5D9
square
#9863E5 #E5636F #B0E563 #63E5D9
split-complementary
#9863E5 #E5D963 #6FE563
monochromatic
#591DB0 #752FDC #9863E5 #BB97EE #DDCCF6

Accessibility & contrast

On white

4.00
#9863E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9863E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9863E5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9863E5#FFFFFF#000000##000000
##9863E51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#257FE9
Deuteranopia (green-blind)
#3B7EE2
Tritanopia (blue-blind)
#887E9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9863e5;
/* rgb */ color: rgb(152, 99, 229);
/* oklch */ color: oklch(61.7% 0.191 299.6);
Tailwind
colors: {
  custom: {
    50: '#ba91ee',
    500: '#9863e5',
    950: '#000000',
  },
}
SCSS
$custom: #9863e5;
$custom-light: #ba91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9863e5",
  "rgb": {
    "r": 152,
    "g": 99,
    "b": 229
  },
  "hsl": {
    "h": 264.462,
    "s": 71.429,
    "l": 64.314
  },
  "oklch": {
    "l": 0.617,
    "c": 0.19054,
    "h": 299.6
  },
  "luminance": 0.21256
}

Semantic roles & 50–950 ramp

primary
#9863E5
secondary
#D6E8BB
accent
#D31285
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9863E5

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

Preview Lab → · Contrast checker → · Palette generator →

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