#9865CD#9865CD

#9865CD is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.6% C 0.159 H 304.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9865CD
RGBrgb(152, 101, 205)
HSLhsl(269, 51%, 60%)
HSVhsv(269, 51%, 80%)
CMYKcmyk(25.9%, 50.7%, 0%, 19.6%)
CIE-LABlab(52.28, 40.84, -46.41)
CIE-LCHlch(52.28, 61.82, 311.34°)
OKLaboklab(60.55% 0.0904 -0.1303)
OKLCHoklch(60.55% 0.159 304.8)
XYZxyz(28.6197, 20.3907, 60.1738)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865CD #9ACD65
analogous
#6566CD #9865CD #CC65CD
triadic
#9865CD #CD9865 #65CD98
tetradic
#9865CD #CD6566 #9ACD65 #65CDCC
square
#9865CD #CD6566 #9ACD65 #65CDCC
split-complementary
#9865CD #CDCC65 #66CD65
monochromatic
#5B2D8B #793CB9 #9865CD #B793DC #D6C1EB

Accessibility & contrast

On white

4.14
#9865CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9865CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865CD#FFFFFF#000000##000000
##9865CD1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#547DCA
Tritanopia (blue-blind)
#8F7890
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9865cd;
/* rgb */ color: rgb(152, 101, 205);
/* oklch */ color: oklch(60.6% 0.159 304.8);
Tailwind
colors: {
  custom: {
    50: '#b992dd',
    500: '#9865cd',
    950: '#000000',
  },
}
SCSS
$custom: #9865cd;
$custom-light: #b992dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9865cd",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 269.423,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.60553,
    "c": 0.15862,
    "h": 304.8
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#9865CD
secondary
#C7DBB3
accent
#DA4D95
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9865CD

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

Preview Lab → · Contrast checker → · Palette generator →

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