#CA7FFD#CA7FFD

#CA7FFD is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.5% C 0.189 H 310.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CA7FFD
RGBrgb(202, 127, 253)
HSLhsl(276, 97%, 75%)
HSVhsv(276, 50%, 99%)
CMYKcmyk(20.2%, 49.8%, 0%, 0.8%)
CIE-LABlab(65.61, 50.96, -51.74)
CIE-LCHlch(65.61, 72.62, 314.57°)
OKLaboklab(72.47% 0.1212 -0.1446)
OKLCHoklch(72.47% 0.189 310)
XYZxyz(49.6728, 34.8280, 97.0152)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FFD #B2FD7F
analogous
#8B7FFD #CA7FFD #FD7FF1
triadic
#CA7FFD #FDCA7F #7FFDCA
tetradic
#CA7FFD #FD8B7F #B2FD7F #7FF1FD
square
#CA7FFD #FD8B7F #B2FD7F #7FF1FD
split-complementary
#CA7FFD #F1FD7F #7FFD8B
monochromatic
#9806FB #B143FC #CA7FFD #E3BBFE #F3E1FF

Accessibility & contrast

On white

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

On black

7.97
#CA7FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FFD
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FFD#FFFFFF#000000##000000
##CA7FFD1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#74A1FA
Tritanopia (blue-blind)
#C494B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca7ffd;
/* rgb */ color: rgb(202, 127, 253);
/* oklch */ color: oklch(72.5% 0.189 310.0);
Tailwind
colors: {
  custom: {
    50: '#dda6fe',
    500: '#ca7ffd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ffd;
$custom-light: #dda6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ffd",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 275.714,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72475,
    "c": 0.18872,
    "h": 310
  },
  "luminance": 0.34827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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