#CA6FFE#CA6FFE

#CA6FFE is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.3% C 0.214 H 311.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CA6FFE
RGBrgb(202, 111, 254)
HSLhsl(278, 99%, 72%)
HSVhsv(278, 56%, 100%)
CMYKcmyk(20.5%, 56.3%, 0%, 0.4%)
CIE-LABlab(62.58, 59.28, -57.11)
CIE-LCHlch(62.58, 82.31, 316.07°)
OKLaboklab(70.25% 0.1417 -0.1602)
OKLCHoklch(70.25% 0.214 311.5)
XYZxyz(47.9277, 31.0823, 97.2214)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6FFE #A3FE6F
analogous
#836FFE #CA6FFE #FE6FEA
triadic
#CA6FFE #FECA6F #6FFECA
tetradic
#CA6FFE #FE836F #A3FE6F #6FEAFE
square
#CA6FFE #FE836F #A3FE6F #6FEAFE
split-complementary
#CA6FFE #EAFE6F #6FFE83
monochromatic
#9A02F1 #B432FE #CA6FFE #E0ACFE #F4E1FF

Accessibility & contrast

On white

2.91
#CA6FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CA6FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA6FFE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6FFE#FFFFFF#000000##000000
##CA6FFE1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#C488AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca6ffe;
/* rgb */ color: rgb(202, 111, 254);
/* oklch */ color: oklch(70.3% 0.214 311.5);
Tailwind
colors: {
  custom: {
    50: '#dd9cff',
    500: '#ca6ffe',
    950: '#000000',
  },
}
SCSS
$custom: #ca6ffe;
$custom-light: #dd9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6ffe",
  "rgb": {
    "r": 202,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 278.182,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70254,
    "c": 0.21393,
    "h": 311.5
  },
  "luminance": 0.31081
}

Semantic roles & 50–950 ramp

primary
#CA6FFE
secondary
#DFF7D2
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #CA6FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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