#9861CD#9861CD

#9861CD is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.9% C 0.165 H 305.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9861CD
RGBrgb(152, 97, 205)
HSLhsl(271, 52%, 59%)
HSVhsv(271, 53%, 80%)
CMYKcmyk(25.9%, 52.7%, 0%, 19.6%)
CIE-LABlab(51.42, 43.04, -47.77)
CIE-LCHlch(51.42, 64.30, 312.02°)
OKLaboklab(59.92% 0.0958 -0.1343)
OKLCHoklch(59.92% 0.165 305.5)
XYZxyz(28.2407, 19.6328, 60.0475)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861CD #96CD61
analogous
#6261CD #9861CD #CD61CC
triadic
#9861CD #CD9861 #61CD98
tetradic
#9861CD #CD6261 #96CD61 #61CCCD
square
#9861CD #CD6261 #96CD61 #61CCCD
split-complementary
#9861CD #CCCD61 #61CD62
monochromatic
#5B2B88 #7A3AB7 #9861CD #B68FDC #D5BEEA

Accessibility & contrast

On white

4.26
#9861CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9861CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861CD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861CD#FFFFFF#000000##000000
##9861CD1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#4F7BCA
Tritanopia (blue-blind)
#8F758E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9861cd;
/* rgb */ color: rgb(152, 97, 205);
/* oklch */ color: oklch(59.9% 0.165 305.5);
Tailwind
colors: {
  custom: {
    50: '#b990dd',
    500: '#9861cd',
    950: '#000000',
  },
}
SCSS
$custom: #9861cd;
$custom-light: #b990dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9861cd",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 270.556,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59919,
    "c": 0.16495,
    "h": 305.5
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#9861CD
secondary
#C5DAB0
accent
#DB4C93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120D15
muted
#817D83

Preview Lab

Preview with #9861CD

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

Preview Lab → · Contrast checker → · Palette generator →

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