#CA6FDB#CA6FDB

#CA6FDB is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.4% C 0.178 H 321.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#CA6FDB
RGBrgb(202, 111, 219)
HSLhsl(291, 60%, 65%)
HSVhsv(291, 49%, 86%)
CMYKcmyk(7.8%, 49.3%, 0%, 14.1%)
CIE-LABlab(60.82, 52.21, -40.46)
CIE-LCHlch(60.82, 66.05, 322.22°)
OKLaboklab(68.39% 0.1388 -0.1119)
OKLCHoklch(68.39% 0.178 321.1)
XYZxyz(42.8263, 29.0417, 70.3538)
Luminance0.2904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6FDB #80DB6F
analogous
#946FDB #CA6FDB #DB6FB6
triadic
#CA6FDB #DBCA6F #6FDBCA
tetradic
#CA6FDB #DB946F #80DB6F #6FB6DB
square
#CA6FDB #DB946F #80DB6F #6FB6DB
split-complementary
#CA6FDB #B6DB6F #6FDB94
monochromatic
#922AA6 #B83ECF #CA6FDB #DCA0E7 #EED1F3

Accessibility & contrast

On white

3.08
#CA6FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#CA6FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6FDB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6FDB#FFFFFF#000000##000000
##CA6FDB1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8CDF
Deuteranopia (green-blind)
#7996D8
Tritanopia (blue-blind)
#CC7D9B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca6fdb;
/* rgb */ color: rgb(202, 111, 219);
/* oklch */ color: oklch(68.4% 0.178 321.1);
Tailwind
colors: {
  custom: {
    50: '#dc9be6',
    500: '#ca6fdb',
    950: '#000000',
  },
}
SCSS
$custom: #ca6fdb;
$custom-light: #dc9be6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6fdb",
  "rgb": {
    "r": 202,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 290.556,
    "s": 60,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68389,
    "c": 0.17827,
    "h": 321.1
  },
  "luminance": 0.2904
}

Semantic roles & 50–950 ramp

primary
#CA6FDB
secondary
#C6E5C0
accent
#C81E39
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA6FDB

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

Preview Lab → · Contrast checker → · Palette generator →

#CA6FDB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva