#CA7FFE#CA7FFE

#CA7FFE is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.5% C 0.190 H 309.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#CA7FFE
RGBrgb(202, 127, 254)
HSLhsl(275, 98%, 75%)
HSVhsv(275, 50%, 100%)
CMYKcmyk(20.5%, 50%, 0%, 0.4%)
CIE-LABlab(65.66, 51.17, -52.21)
CIE-LCHlch(65.66, 73.10, 314.43°)
OKLaboklab(72.53% 0.1213 -0.146)
OKLCHoklch(72.53% 0.19 309.7)
XYZxyz(49.8325, 34.8919, 97.8564)
Luminance0.3489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FFE #B3FE7F
analogous
#8B7FFE #CA7FFE #FE7FF3
triadic
#CA7FFE #FECA7F #7FFECA
tetradic
#CA7FFE #FE8B7F #B3FE7F #7FF3FE
square
#CA7FFE #FE8B7F #B3FE7F #7FF3FE
split-complementary
#CA7FFE #F3FE7F #7FFE8B
monochromatic
#9806FD #B142FE #CA7FFE #E3BCFE #F2E1FF

Accessibility & contrast

On white

2.63
#CA7FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#CA7FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FFE
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FFE#FFFFFF#000000##000000
##CA7FFE1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#74A1FB
Tritanopia (blue-blind)
#C394B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca7ffe;
/* rgb */ color: rgb(202, 127, 254);
/* oklch */ color: oklch(72.5% 0.190 309.7);
Tailwind
colors: {
  custom: {
    50: '#dda6ff',
    500: '#ca7ffe',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ffe;
$custom-light: #dda6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ffe",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 275.433,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72529,
    "c": 0.18983,
    "h": 309.7
  },
  "luminance": 0.34891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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