#CA7BEA#CA7BEA

#CA7BEA is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.9% C 0.174 H 315.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CA7BEA
RGBrgb(202, 123, 234)
HSLhsl(283, 73%, 70%)
HSVhsv(283, 47%, 92%)
CMYKcmyk(13.7%, 47.4%, 0%, 8.2%)
CIE-LABlab(63.89, 49.04, -44.00)
CIE-LCHlch(63.89, 65.88, 318.10°)
OKLaboklab(70.9% 0.1244 -0.1221)
OKLCHoklch(70.9% 0.174 315.5)
XYZxyz(46.2891, 32.6643, 81.6924)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BEA #9BEA7B
analogous
#937BEA #CA7BEA #EA7BD2
triadic
#CA7BEA #EACA7B #7BEACA
tetradic
#CA7BEA #EA937B #9BEA7B #7BD2EA
square
#CA7BEA #EA937B #9BEA7B #7BD2EA
split-complementary
#CA7BEA #D2EA7B #7BEA93
monochromatic
#9920CA #B546E2 #CA7BEA #DFB0F2 #F4E5FB

Accessibility & contrast

On white

2.79
#CA7BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CA7BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BEA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BEA#FFFFFF#000000##000000
##CA7BEA1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EE
Deuteranopia (green-blind)
#7C9DE7
Tritanopia (blue-blind)
#C88BA8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7bea;
/* rgb */ color: rgb(202, 123, 234);
/* oklch */ color: oklch(70.9% 0.174 315.5);
Tailwind
colors: {
  custom: {
    50: '#dca3f1',
    500: '#ca7bea',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bea;
$custom-light: #dca3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bea",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 282.703,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.70895,
    "c": 0.17432,
    "h": 315.5
  },
  "luminance": 0.32663
}

Semantic roles & 50–950 ramp

primary
#CA7BEA
secondary
#DAF0D1
accent
#D51149
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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