#9869CA#9869CA

#9869CA is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.0% C 0.148 H 304.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9869CA
RGBrgb(152, 105, 202)
HSLhsl(269, 48%, 60%)
HSVhsv(269, 48%, 79%)
CMYKcmyk(24.8%, 48%, 0%, 20.8%)
CIE-LABlab(53.00, 37.88, -43.55)
CIE-LCHlch(53.00, 57.72, 311.02°)
OKLaboklab(61.04% 0.0847 -0.122)
OKLCHoklch(61.04% 0.149 304.8)
XYZxyz(28.6589, 21.0430, 58.4176)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869CA #9BCA69
analogous
#696BCA #9869CA #C869CA
triadic
#9869CA #CA9869 #69CA98
tetradic
#9869CA #CA696B #9BCA69 #69CAC8
square
#9869CA #CA696B #9BCA69 #69CAC8
split-complementary
#9869CA #CAC869 #6BCA69
monochromatic
#5B3088 #7940B6 #9869CA #B796DA #D6C3EA

Accessibility & contrast

On white

4.03
#9869CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9869CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869CA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869CA#FFFFFF#000000##000000
##9869CA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7DCD
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#907A90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9869ca;
/* rgb */ color: rgb(152, 105, 202);
/* oklch */ color: oklch(61.0% 0.148 304.8);
Tailwind
colors: {
  custom: {
    50: '#b895da',
    500: '#9869ca',
    950: '#000000',
  },
}
SCSS
$custom: #9869ca;
$custom-light: #b895da;
$custom-dark: #000000;
JSON
{
  "hex": "#9869ca",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 202
  },
  "hsl": {
    "h": 269.072,
    "s": 47.783,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61038,
    "c": 0.1485,
    "h": 304.8
  },
  "luminance": 0.21043
}

Semantic roles & 50–950 ramp

primary
#9869CA
secondary
#C8DAB5
accent
#BB2A75
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9869CA

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

Preview Lab → · Contrast checker → · Palette generator →

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