#9868CA#9868CA

#9868CA is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.9% C 0.150 H 305.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9868CA
RGBrgb(152, 104, 202)
HSLhsl(269, 48%, 60%)
HSVhsv(269, 49%, 79%)
CMYKcmyk(24.8%, 48.5%, 0%, 20.8%)
CIE-LABlab(52.77, 38.45, -43.91)
CIE-LCHlch(52.77, 58.36, 311.21°)
OKLaboklab(60.87% 0.0861 -0.123)
OKLCHoklch(60.87% 0.15 305)
XYZxyz(28.5576, 20.8404, 58.3838)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868CA #9ACA68
analogous
#6869CA #9868CA #C968CA
triadic
#9868CA #CA9868 #68CA98
tetradic
#9868CA #CA6869 #9ACA68 #68CAC9
square
#9868CA #CA6869 #9ACA68 #68CAC9
split-complementary
#9868CA #CAC968 #69CA68
monochromatic
#5B3088 #7940B5 #9868CA #B795DA #D6C3EA

Accessibility & contrast

On white

4.06
#9868CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9868CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868CA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868CA#FFFFFF#000000##000000
##9868CA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCD
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#90798F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9868ca;
/* rgb */ color: rgb(152, 104, 202);
/* oklch */ color: oklch(60.9% 0.150 305.0);
Tailwind
colors: {
  custom: {
    50: '#b894da',
    500: '#9868ca',
    950: '#000000',
  },
}
SCSS
$custom: #9868ca;
$custom-light: #b894da;
$custom-dark: #000000;
JSON
{
  "hex": "#9868ca",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 269.388,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.60872,
    "c": 0.15013,
    "h": 305
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

primary
#9868CA
secondary
#C7DAB4
accent
#D85095
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9868CA

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

Preview Lab → · Contrast checker → · Palette generator →

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