#9865CA#9865CA

#9865CA is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.4% C 0.155 H 305.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9865CA
RGBrgb(152, 101, 202)
HSLhsl(270, 49%, 59%)
HSVhsv(270, 50%, 79%)
CMYKcmyk(24.8%, 50%, 0%, 20.8%)
CIE-LABlab(52.12, 40.12, -44.95)
CIE-LCHlch(52.12, 60.25, 311.75°)
OKLaboklab(60.38% 0.0902 -0.126)
OKLCHoklch(60.38% 0.155 305.6)
XYZxyz(28.2610, 20.2472, 58.2849)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865CA #97CA65
analogous
#6665CA #9865CA #CA65CA
triadic
#9865CA #CA9865 #65CA98
tetradic
#9865CA #CA6665 #97CA65 #65CACA
square
#9865CA #CA6665 #97CA65 #65CACA
split-complementary
#9865CA #CACA65 #65CA66
monochromatic
#5B2E86 #793EB4 #9865CA #B693DA #D5C0E9

Accessibility & contrast

On white

4.16
#9865CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9865CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865CA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865CA#FFFFFF#000000##000000
##9865CA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCE
Deuteranopia (green-blind)
#567DC7
Tritanopia (blue-blind)
#90778E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9865ca;
/* rgb */ color: rgb(152, 101, 202);
/* oklch */ color: oklch(60.4% 0.155 305.6);
Tailwind
colors: {
  custom: {
    50: '#b992da',
    500: '#9865ca',
    950: '#000000',
  },
}
SCSS
$custom: #9865ca;
$custom-light: #b992da;
$custom-dark: #000000;
JSON
{
  "hex": "#9865ca",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 270.297,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60382,
    "c": 0.15498,
    "h": 305.6
  },
  "luminance": 0.20247
}

Semantic roles & 50–950 ramp

primary
#9865CA
secondary
#C5D9B2
accent
#D84F93
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9865CA

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

Preview Lab → · Contrast checker → · Palette generator →

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