#CA7FFB#CA7FFB

#CA7FFB is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.4% C 0.186 H 310.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CA7FFB
RGBrgb(202, 127, 251)
HSLhsl(276, 94%, 74%)
HSVhsv(276, 49%, 98%)
CMYKcmyk(19.5%, 49.4%, 0%, 1.6%)
CIE-LABlab(65.52, 50.53, -50.80)
CIE-LCHlch(65.52, 71.65, 314.85°)
OKLaboklab(72.37% 0.121 -0.1419)
OKLCHoklch(72.37% 0.187 310.5)
XYZxyz(49.3559, 34.7012, 95.3460)
Luminance0.3470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FFB #B0FB7F
analogous
#8C7FFB #CA7FFB #FB7FEE
triadic
#CA7FFB #FBCA7F #7FFBCA
tetradic
#CA7FFB #FB8C7F #B0FB7F #7FEEFB
square
#CA7FFB #FB8C7F #B0FB7F #7FEEFB
split-complementary
#CA7FFB #EEFB7F #7FFB8C
monochromatic
#9908F7 #B144F9 #CA7FFB #E3BAFD #F3E1FE

Accessibility & contrast

On white

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

On black

7.94
#CA7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FFB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FFB#FFFFFF#000000##000000
##CA7FFB1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#76A0F8
Tritanopia (blue-blind)
#C493B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca7ffb;
/* rgb */ color: rgb(202, 127, 251);
/* oklch */ color: oklch(72.4% 0.186 310.5);
Tailwind
colors: {
  custom: {
    50: '#dca6fd',
    500: '#ca7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ffb;
$custom-light: #dca6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ffb",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 276.29,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7237,
    "c": 0.1865,
    "h": 310.5
  },
  "luminance": 0.347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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