#9868C8#9868C8

#9868C8 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.8% C 0.148 H 305.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9868C8
RGBrgb(152, 104, 200)
HSLhsl(270, 47%, 60%)
HSVhsv(270, 48%, 78%)
CMYKcmyk(24%, 48%, 0%, 21.6%)
CIE-LABlab(52.67, 37.97, -42.93)
CIE-LCHlch(52.67, 57.31, 311.49°)
OKLaboklab(60.76% 0.0858 -0.1202)
OKLCHoklch(60.76% 0.148 305.5)
XYZxyz(28.3224, 20.7463, 57.1448)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868C8 #98C868
analogous
#6868C8 #9868C8 #C868C8
triadic
#9868C8 #C89868 #68C898
tetradic
#9868C8 #C86868 #98C868 #68C8C8
square
#9868C8 #C86868 #98C868 #68C8C8
split-complementary
#9868C8 #C8C868 #68C868
monochromatic
#5B3085 #7941B2 #9868C8 #B795D8 #D5C2E9

Accessibility & contrast

On white

4.08
#9868C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9868C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868C8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868C8#FFFFFF#000000##000000
##9868C81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#5A7EC6
Tritanopia (blue-blind)
#90788F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9868c8;
/* rgb */ color: rgb(152, 104, 200);
/* oklch */ color: oklch(60.8% 0.148 305.5);
Tailwind
colors: {
  custom: {
    50: '#b894d9',
    500: '#9868c8',
    950: '#000000',
  },
}
SCSS
$custom: #9868c8;
$custom-light: #b894d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9868c8",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 270,
    "s": 46.602,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.14766,
    "h": 305.5
  },
  "luminance": 0.20746
}

Semantic roles & 50–950 ramp

primary
#9868C8
secondary
#C6D9B3
accent
#D65294
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #9868C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9868C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva