#CA6CFE#CA6CFE

#CA6CFE is a light, highly saturated violet. Relative luminance 0.304; OKLCH L 69.9% C 0.218 H 311.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CA6CFE
RGBrgb(202, 108, 254)
HSLhsl(279, 99%, 71%)
HSVhsv(279, 57%, 100%)
CMYKcmyk(20.5%, 57.5%, 0%, 0.4%)
CIE-LABlab(62.03, 60.74, -57.98)
CIE-LCHlch(62.03, 83.97, 316.33°)
OKLaboklab(69.86% 0.1454 -0.1628)
OKLCHoklch(69.86% 0.218 311.8)
XYZxyz(47.6059, 30.4385, 97.1141)
Luminance0.3044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6CFE #A0FE6C
analogous
#816CFE #CA6CFE #FE6CE9
triadic
#CA6CFE #FECA6C #6CFECA
tetradic
#CA6CFE #FE816C #A0FE6C #6CE9FE
square
#CA6CFE #FE816C #A0FE6C #6CE9FE
split-complementary
#CA6CFE #E9FE6C #6CFE81
monochromatic
#9A02EE #B42FFE #CA6CFE #E0A9FE #F4E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA6CFE#FFFFFF#000000##000000
##CA6CFE1.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)
#3C91FF
Deuteranopia (green-blind)
#6198FA
Tritanopia (blue-blind)
#C486AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca6cfe;
/* rgb */ color: rgb(202, 108, 254);
/* oklch */ color: oklch(69.9% 0.218 311.8);
Tailwind
colors: {
  custom: {
    50: '#dd9aff',
    500: '#ca6cfe',
    950: '#000000',
  },
}
SCSS
$custom: #ca6cfe;
$custom-light: #dd9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6cfe",
  "rgb": {
    "r": 202,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 278.63,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69855,
    "c": 0.21826,
    "h": 311.8
  },
  "luminance": 0.30437
}

Semantic roles & 50–950 ramp

primary
#CA6CFE
secondary
#DDF6CF
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #CA6CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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