#CA6CFB#CA6CFB

#CA6CFB is a light, highly saturated violet. Relative luminance 0.302; OKLCH L 69.7% C 0.215 H 312.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CA6CFB
RGBrgb(202, 108, 251)
HSLhsl(279, 95%, 70%)
HSVhsv(279, 57%, 98%)
CMYKcmyk(19.5%, 57%, 0%, 1.6%)
CIE-LABlab(61.87, 60.11, -56.59)
CIE-LCHlch(61.87, 82.56, 316.73°)
OKLaboklab(69.68% 0.1453 -0.1587)
OKLCHoklch(69.68% 0.215 312.5)
XYZxyz(47.1292, 30.2479, 94.6038)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6CFB #9DFB6C
analogous
#836CFB #CA6CFB #FB6CE4
triadic
#CA6CFB #FBCA6C #6CFBCA
tetradic
#CA6CFB #FB836C #9DFB6C #6CE4FB
square
#CA6CFB #FB836C #9DFB6C #6CE4FB
split-complementary
#CA6CFB #E4FB6C #6CFB83
monochromatic
#9A06E6 #B530F9 #CA6CFB #DFA8FD #F4E1FE

Accessibility & contrast

On white

2.98
#CA6CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CA6CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA6CFB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6CFB#FFFFFF#000000##000000
##CA6CFB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#6398F7
Tritanopia (blue-blind)
#C585AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca6cfb;
/* rgb */ color: rgb(202, 108, 251);
/* oklch */ color: oklch(69.7% 0.215 312.5);
Tailwind
colors: {
  custom: {
    50: '#dd9afd',
    500: '#ca6cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ca6cfb;
$custom-light: #dd9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6cfb",
  "rgb": {
    "r": 202,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 279.441,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69683,
    "c": 0.21519,
    "h": 312.5
  },
  "luminance": 0.30247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA6CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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