#CA7FFC#CA7FFC

#CA7FFC is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.4% C 0.188 H 310.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CA7FFC
RGBrgb(202, 127, 252)
HSLhsl(276, 95%, 74%)
HSVhsv(276, 50%, 99%)
CMYKcmyk(19.8%, 49.6%, 0%, 1.2%)
CIE-LABlab(65.56, 50.74, -51.27)
CIE-LCHlch(65.56, 72.13, 314.70°)
OKLaboklab(72.42% 0.1211 -0.1433)
OKLCHoklch(72.42% 0.188 310.2)
XYZxyz(49.5139, 34.7644, 96.1784)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FFC #B1FC7F
analogous
#8C7FFC #CA7FFC #FC7FF0
triadic
#CA7FFC #FCCA7F #7FFCCA
tetradic
#CA7FFC #FC8C7F #B1FC7F #7FF0FC
square
#CA7FFC #FC8C7F #B1FC7F #7FF0FC
split-complementary
#CA7FFC #F0FC7F #7FFC8C
monochromatic
#9807F9 #B143FB #CA7FFC #E3BBFD #F3E1FE

Accessibility & contrast

On white

2.64
#CA7FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CA7FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FFC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FFC#FFFFFF#000000##000000
##CA7FFC1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#C494B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca7ffc;
/* rgb */ color: rgb(202, 127, 252);
/* oklch */ color: oklch(72.4% 0.188 310.2);
Tailwind
colors: {
  custom: {
    50: '#dca6fe',
    500: '#ca7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ffc;
$custom-light: #dca6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ffc",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 276,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72422,
    "c": 0.18761,
    "h": 310.2
  },
  "luminance": 0.34764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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