#CA7DEB#CA7DEB

#CA7DEB is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.2% C 0.172 H 315.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CA7DEB
RGBrgb(202, 125, 235)
HSLhsl(282, 73%, 71%)
HSVhsv(282, 47%, 92%)
CMYKcmyk(14%, 46.8%, 0%, 7.8%)
CIE-LABlab(64.34, 48.20, -43.84)
CIE-LCHlch(64.34, 65.15, 317.71°)
OKLaboklab(71.25% 0.1218 -0.1217)
OKLCHoklch(71.25% 0.172 315)
XYZxyz(46.6838, 33.2232, 82.5347)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DEB #9EEB7D
analogous
#937DEB #CA7DEB #EB7DD5
triadic
#CA7DEB #EBCA7D #7DEBCA
tetradic
#CA7DEB #EB937D #9EEB7D #7DD5EB
square
#CA7DEB #EB937D #9EEB7D #7DD5EB
split-complementary
#CA7DEB #D5EB7D #7DEB93
monochromatic
#9A20CE #B448E3 #CA7DEB #E0B2F3 #F4E4FB

Accessibility & contrast

On white

2.75
#CA7DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#CA7DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DEB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DEB#FFFFFF#000000##000000
##CA7DEB1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#7D9EE8
Tritanopia (blue-blind)
#C88DA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7deb;
/* rgb */ color: rgb(202, 125, 235);
/* oklch */ color: oklch(71.2% 0.172 315.0);
Tailwind
colors: {
  custom: {
    50: '#dca5f2',
    500: '#ca7deb',
    950: '#000000',
  },
}
SCSS
$custom: #ca7deb;
$custom-light: #dca5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7deb",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 282,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71247,
    "c": 0.17216,
    "h": 315
  },
  "luminance": 0.33222
}

Semantic roles & 50–950 ramp

primary
#CA7DEB
secondary
#DCF1D3
accent
#D5104B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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