#CA6DFB#CA6DFB

#CA6DFB is a light, highly saturated violet. Relative luminance 0.305; OKLCH L 69.8% C 0.214 H 312.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CA6DFB
RGBrgb(202, 109, 251)
HSLhsl(279, 95%, 71%)
HSVhsv(279, 57%, 98%)
CMYKcmyk(19.5%, 56.6%, 0%, 1.6%)
CIE-LABlab(62.05, 59.63, -56.30)
CIE-LCHlch(62.05, 82.01, 316.64°)
OKLaboklab(69.82% 0.1441 -0.1579)
OKLCHoklch(69.82% 0.214 312.4)
XYZxyz(47.2353, 30.4600, 94.6392)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6DFB #9EFB6D
analogous
#836DFB #CA6DFB #FB6DE5
triadic
#CA6DFB #FBCA6D #6DFBCA
tetradic
#CA6DFB #FB836D #9EFB6D #6DE5FB
square
#CA6DFB #FB836D #9EFB6D #6DE5FB
split-complementary
#CA6DFB #E5FB6D #6DFB83
monochromatic
#9A06E7 #B431F9 #CA6DFB #E0A9FD #F4E1FE

Accessibility & contrast

On white

2.96
#CA6DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CA6DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA6DFB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6DFB#FFFFFF#000000##000000
##CA6DFB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#6498F7
Tritanopia (blue-blind)
#C586AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca6dfb;
/* rgb */ color: rgb(202, 109, 251);
/* oklch */ color: oklch(69.8% 0.214 312.4);
Tailwind
colors: {
  custom: {
    50: '#dd9bfd',
    500: '#ca6dfb',
    950: '#000000',
  },
}
SCSS
$custom: #ca6dfb;
$custom-light: #dd9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6dfb",
  "rgb": {
    "r": 202,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 279.296,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69816,
    "c": 0.21374,
    "h": 312.4
  },
  "luminance": 0.30459
}

Semantic roles & 50–950 ramp

primary
#CA6DFB
secondary
#DCF5CF
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #CA6DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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