#9865ED#9865ED

#9865ED is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.5% C 0.197 H 297.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9865ED
RGBrgb(152, 101, 237)
HSLhsl(263, 79%, 66%)
HSVhsv(263, 57%, 93%)
CMYKcmyk(35.9%, 57.4%, 0%, 7.1%)
CIE-LABlab(54.13, 48.73, -61.52)
CIE-LCHlch(54.13, 78.48, 308.38°)
OKLaboklab(62.52% 0.0917 -0.1746)
OKLCHoklch(62.52% 0.197 297.7)
XYZxyz(32.8848, 22.0967, 82.6369)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865ED #BAED65
analogous
#6576ED #9865ED #DC65ED
triadic
#9865ED #ED9865 #65ED98
tetradic
#9865ED #ED6576 #BAED65 #65EDDC
square
#9865ED #ED6576 #BAED65 #65EDDC
split-complementary
#9865ED #EDDC65 #76ED65
monochromatic
#5617C1 #732EE7 #9865ED #BD9CF3 #E1D3FA

Accessibility & contrast

On white

3.87
#9865ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9865ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865ED
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865ED#FFFFFF#000000##000000
##9865ED1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C82F1
Deuteranopia (green-blind)
#3480EA
Tritanopia (blue-blind)
#85829F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9865ed;
/* rgb */ color: rgb(152, 101, 237);
/* oklch */ color: oklch(62.5% 0.197 297.7);
Tailwind
colors: {
  custom: {
    50: '#bb93f4',
    500: '#9865ed',
    950: '#000000',
  },
}
SCSS
$custom: #9865ed;
$custom-light: #bb93f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9865ed",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 237
  },
  "hsl": {
    "h": 262.5,
    "s": 79.07,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62518,
    "c": 0.19722,
    "h": 297.7
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#9865ED
secondary
#DCEDC1
accent
#DB0A8D
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9865ED

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

Preview Lab → · Contrast checker → · Palette generator →

#9865ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva