#CA7FFF#CA7FFF

#CA7FFF is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.6% C 0.191 H 309.5°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#CA7FFF
RGBrgb(202, 127, 255)
HSLhsl(275, 100%, 75%)
HSVhsv(275, 50%, 100%)
CMYKcmyk(20.8%, 50.2%, 0%, 0%)
CIE-LABlab(65.71, 51.39, -52.67)
CIE-LCHlch(65.71, 73.59, 314.29°)
OKLaboklab(72.58% 0.1214 -0.1474)
OKLCHoklch(72.58% 0.191 309.5)
XYZxyz(49.9931, 34.9561, 98.7019)
Luminance0.3496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FFF #B4FF7F
analogous
#8A7FFF #CA7FFF #FF7FF4
triadic
#CA7FFF #FFCA7F #7FFFCA
tetradic
#CA7FFF #FF8A7F #B4FF7F #7FF4FF
square
#CA7FFF #FF8A7F #B4FF7F #7FF4FF
split-complementary
#CA7FFF #F4FF7F #7FFF8A
monochromatic
#9705FF #B142FF #CA7FFF #E3BCFF #F2E0FF

Accessibility & contrast

On white

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

On black

7.99
#CA7FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FFF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FFF#FFFFFF#000000##000000
##CA7FFF1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#73A1FC
Tritanopia (blue-blind)
#C395B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca7fff;
/* rgb */ color: rgb(202, 127, 255);
/* oklch */ color: oklch(72.6% 0.191 309.5);
Tailwind
colors: {
  custom: {
    50: '#dda6ff',
    500: '#ca7fff',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fff;
$custom-light: #dda6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fff",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 255
  },
  "hsl": {
    "h": 275.156,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72582,
    "c": 0.19093,
    "h": 309.5
  },
  "luminance": 0.34955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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