#9863E7#9863E7

#9863E7 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.8% C 0.193 H 299.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9863E7
RGBrgb(152, 99, 231)
HSLhsl(264, 73%, 65%)
HSVhsv(264, 57%, 91%)
CMYKcmyk(34.2%, 57.1%, 0%, 9.4%)
CIE-LABlab(53.35, 48.30, -59.41)
CIE-LCHlch(53.35, 76.57, 309.11°)
OKLaboklab(61.83% 0.0941 -0.1684)
OKLCHoklch(61.83% 0.193 299.2)
XYZxyz(31.8310, 21.3683, 78.0333)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9863E7 #B2E763
analogous
#6370E7 #9863E7 #DA63E7
triadic
#9863E7 #E79863 #63E798
tetradic
#9863E7 #E76370 #B2E763 #63E7DA
square
#9863E7 #E76370 #B2E763 #63E7DA
split-complementary
#9863E7 #E7DA63 #70E763
monochromatic
#591CB4 #752EDF #9863E7 #BB98EF #DECDF7

Accessibility & contrast

On white

3.98
#9863E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9863E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9863E7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9863E7#FFFFFF#000000##000000
##9863E71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#217FEB
Deuteranopia (green-blind)
#397EE4
Tritanopia (blue-blind)
#877E9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9863e7;
/* rgb */ color: rgb(152, 99, 231);
/* oklch */ color: oklch(61.8% 0.193 299.2);
Tailwind
colors: {
  custom: {
    50: '#bb91ef',
    500: '#9863e7',
    950: '#000000',
  },
}
SCSS
$custom: #9863e7;
$custom-light: #bb91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9863e7",
  "rgb": {
    "r": 152,
    "g": 99,
    "b": 231
  },
  "hsl": {
    "h": 264.091,
    "s": 73.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61828,
    "c": 0.19291,
    "h": 299.2
  },
  "luminance": 0.21369
}

Semantic roles & 50–950 ramp

primary
#9863E7
secondary
#D7EABC
accent
#D51086
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9863E7

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

Preview Lab → · Contrast checker → · Palette generator →

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