#CA7CFD#CA7CFD

#CA7CFD is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.193 H 310.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CA7CFD
RGBrgb(202, 124, 253)
HSLhsl(276, 97%, 74%)
HSVhsv(276, 51%, 99%)
CMYKcmyk(20.2%, 51%, 0%, 0.8%)
CIE-LABlab(65.01, 52.51, -52.69)
CIE-LCHlch(65.01, 74.39, 314.90°)
OKLaboklab(72.03% 0.1251 -0.1474)
OKLCHoklch(72.03% 0.193 310.3)
XYZxyz(49.2911, 34.0646, 96.8880)
Luminance0.3406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CFD #AFFD7C
analogous
#8A7CFD #CA7CFD #FD7CF0
triadic
#CA7CFD #FDCA7C #7CFDCA
tetradic
#CA7CFD #FD8A7C #AFFD7C #7CF0FD
square
#CA7CFD #FD8A7C #AFFD7C #7CF0FD
split-complementary
#CA7CFD #F0FD7C #7CFD8A
monochromatic
#9904FB #B240FC #CA7CFD #E2B8FE #F3E1FF

Accessibility & contrast

On white

2.69
#CA7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#CA7CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CFD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CFD#FFFFFF#000000##000000
##CA7CFD1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca7cfd;
/* rgb */ color: rgb(202, 124, 253);
/* oklch */ color: oklch(72.0% 0.193 310.3);
Tailwind
colors: {
  custom: {
    50: '#dda4fe',
    500: '#ca7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cfd;
$custom-light: #dda4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cfd",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 276.279,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72031,
    "c": 0.19336,
    "h": 310.3
  },
  "luminance": 0.34064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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