#CA7BEE#CA7BEE

#CA7BEE is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.1% C 0.179 H 314.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CA7BEE
RGBrgb(202, 123, 238)
HSLhsl(281, 77%, 71%)
HSVhsv(281, 48%, 93%)
CMYKcmyk(15.1%, 48.3%, 0%, 6.7%)
CIE-LABlab(64.08, 49.86, -45.91)
CIE-LCHlch(64.08, 67.78, 317.36°)
OKLaboklab(71.1% 0.1249 -0.1277)
OKLCHoklch(71.1% 0.179 314.4)
XYZxyz(46.8702, 32.8967, 84.7530)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BEE #9FEE7B
analogous
#907BEE #CA7BEE #EE7BD9
triadic
#CA7BEE #EECA7B #7BEECA
tetradic
#CA7BEE #EE907B #9FEE7B #7BD9EE
square
#CA7BEE #EE907B #9FEE7B #7BD9EE
split-complementary
#CA7BEE #D9EE7B #7BEE90
monochromatic
#9A1BD3 #B445E7 #CA7BEE #E0B1F5 #F4E4FC

Accessibility & contrast

On white

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

On black

7.58
#CA7BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BEE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BEE#FFFFFF#000000##000000
##CA7BEE1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F2
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#C78CAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7bee;
/* rgb */ color: rgb(202, 123, 238);
/* oklch */ color: oklch(71.1% 0.179 314.4);
Tailwind
colors: {
  custom: {
    50: '#dca3f4',
    500: '#ca7bee',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bee;
$custom-light: #dca3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bee",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 281.217,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71097,
    "c": 0.17862,
    "h": 314.4
  },
  "luminance": 0.32896
}

Semantic roles & 50–950 ramp

primary
#CA7BEE
secondary
#DDF2D3
accent
#D90C4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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