#9865E7#9865E7

#9865E7 is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.1% C 0.190 H 298.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9865E7
RGBrgb(152, 101, 231)
HSLhsl(264, 73%, 65%)
HSVhsv(264, 56%, 91%)
CMYKcmyk(34.2%, 56.3%, 0%, 9.4%)
CIE-LABlab(53.76, 47.22, -58.75)
CIE-LCHlch(53.76, 75.37, 308.79°)
OKLaboklab(62.13% 0.0917 -0.1664)
OKLCHoklch(62.13% 0.19 298.9)
XYZxyz(32.0228, 21.7520, 78.0972)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865E7 #B4E765
analogous
#6573E7 #9865E7 #D965E7
triadic
#9865E7 #E79865 #65E798
tetradic
#9865E7 #E76573 #B4E765 #65E7D9
square
#9865E7 #E76573 #B4E765 #65E7D9
split-complementary
#9865E7 #E7D965 #73E765
monochromatic
#581CB5 #7530DF #9865E7 #BB9AEF #DFCFF8

Accessibility & contrast

On white

3.92
#9865E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9865E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865E7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865E7#FFFFFF#000000##000000
##9865E71.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2880EB
Deuteranopia (green-blind)
#3C7FE4
Tritanopia (blue-blind)
#87809C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9865e7;
/* rgb */ color: rgb(152, 101, 231);
/* oklch */ color: oklch(62.1% 0.190 298.9);
Tailwind
colors: {
  custom: {
    50: '#ba93ef',
    500: '#9865e7',
    950: '#000000',
  },
}
SCSS
$custom: #9865e7;
$custom-light: #ba93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9865e7",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 231
  },
  "hsl": {
    "h": 263.538,
    "s": 73.034,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62131,
    "c": 0.19004,
    "h": 298.9
  },
  "luminance": 0.21752
}

Semantic roles & 50–950 ramp

primary
#9865E7
secondary
#D9EABE
accent
#D51088
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9865E7

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

Preview Lab → · Contrast checker → · Palette generator →

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