#CA7CFE#CA7CFE

#CA7CFE is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.1% C 0.194 H 310.1°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#CA7CFE
RGBrgb(202, 124, 254)
HSLhsl(276, 98%, 74%)
HSVhsv(276, 51%, 100%)
CMYKcmyk(20.5%, 51.2%, 0%, 0.4%)
CIE-LABlab(65.06, 52.73, -53.16)
CIE-LCHlch(65.06, 74.87, 314.77°)
OKLaboklab(72.08% 0.1252 -0.1488)
OKLCHoklch(72.08% 0.194 310.1)
XYZxyz(49.4508, 34.1285, 97.7291)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CFE #B0FE7C
analogous
#897CFE #CA7CFE #FE7CF1
triadic
#CA7CFE #FECA7C #7CFECA
tetradic
#CA7CFE #FE897C #B0FE7C #7CF1FE
square
#CA7CFE #FE897C #B0FE7C #7CF1FE
split-complementary
#CA7CFE #F1FE7C #7CFE89
monochromatic
#9903FD #B13FFE #CA7CFE #E3B9FE #F3E1FF

Accessibility & contrast

On white

2.68
#CA7CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#CA7CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CFE
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CFE#FFFFFF#000000##000000
##CA7CFE1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#719FFB
Tritanopia (blue-blind)
#C492B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7cfe;
/* rgb */ color: rgb(202, 124, 254);
/* oklch */ color: oklch(72.1% 0.194 310.1);
Tailwind
colors: {
  custom: {
    50: '#dda4ff',
    500: '#ca7cfe',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cfe;
$custom-light: #dda4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cfe",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 276,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72084,
    "c": 0.19446,
    "h": 310.1
  },
  "luminance": 0.34128
}

Semantic roles & 50–950 ramp

primary
#CA7CFE
secondary
#E2F7D4
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA7CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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