#9865C7#9865C7

#9865C7 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.2% C 0.151 H 306.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9865C7
RGBrgb(152, 101, 199)
HSLhsl(271, 47%, 59%)
HSVhsv(271, 49%, 78%)
CMYKcmyk(23.6%, 49.2%, 0%, 22%)
CIE-LABlab(51.96, 39.41, -43.48)
CIE-LCHlch(51.96, 58.69, 312.19°)
OKLaboklab(60.21% 0.0898 -0.1218)
OKLCHoklch(60.21% 0.151 306.4)
XYZxyz(27.9093, 20.1065, 56.4324)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865C7 #94C765
analogous
#6765C7 #9865C7 #C765C5
triadic
#9865C7 #C79865 #65C798
tetradic
#9865C7 #C76765 #94C765 #65C5C7
square
#9865C7 #C76765 #94C765 #65C5C7
split-complementary
#9865C7 #C5C765 #65C767
monochromatic
#5A2F82 #7A40AF #9865C7 #B692D7 #D4BFE8

Accessibility & contrast

On white

4.18
#9865C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9865C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865C7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865C7#FFFFFF#000000##000000
##9865C71.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ACA
Deuteranopia (green-blind)
#587CC5
Tritanopia (blue-blind)
#91768D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9865c7;
/* rgb */ color: rgb(152, 101, 199);
/* oklch */ color: oklch(60.2% 0.151 306.4);
Tailwind
colors: {
  custom: {
    50: '#b892d8',
    500: '#9865c7',
    950: '#000000',
  },
}
SCSS
$custom: #9865c7;
$custom-light: #b892d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9865c7",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 199
  },
  "hsl": {
    "h": 271.224,
    "s": 46.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60213,
    "c": 0.15133,
    "h": 306.4
  },
  "luminance": 0.20106
}

Semantic roles & 50–950 ramp

primary
#9865C7
secondary
#C3D7B1
accent
#D65191
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #9865C7

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

Preview Lab → · Contrast checker → · Palette generator →

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