#CA7CEB#CA7CEB

#CA7CEB is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.1% C 0.174 H 315.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CA7CEB
RGBrgb(202, 124, 235)
HSLhsl(282, 74%, 70%)
HSVhsv(282, 47%, 92%)
CMYKcmyk(14%, 47.2%, 0%, 7.8%)
CIE-LABlab(64.14, 48.72, -44.16)
CIE-LCHlch(64.14, 65.76, 317.81°)
OKLaboklab(71.1% 0.1231 -0.1226)
OKLCHoklch(71.1% 0.174 315.1)
XYZxyz(46.5578, 32.9713, 82.4927)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CEB #9DEB7C
analogous
#927CEB #CA7CEB #EB7CD5
triadic
#CA7CEB #EBCA7C #7CEBCA
tetradic
#CA7CEB #EB927C #9DEB7C #7CD5EB
square
#CA7CEB #EB927C #9DEB7C #7CD5EB
split-complementary
#CA7CEB #D5EB7C #7CEB92
monochromatic
#9A1FCD #B547E3 #CA7CEB #DFB1F3 #F4E4FB

Accessibility & contrast

On white

2.77
#CA7CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CA7CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CEB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CEB#FFFFFF#000000##000000
##CA7CEB1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EF
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#C88CA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7ceb;
/* rgb */ color: rgb(202, 124, 235);
/* oklch */ color: oklch(71.1% 0.174 315.1);
Tailwind
colors: {
  custom: {
    50: '#dca4f2',
    500: '#ca7ceb',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ceb;
$custom-light: #dca4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ceb",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 282.162,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71095,
    "c": 0.17379,
    "h": 315.1
  },
  "luminance": 0.3297
}

Semantic roles & 50–950 ramp

primary
#CA7CEB
secondary
#DBF1D2
accent
#D6104B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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