#CA7BE4#CA7BE4

#CA7BE4 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.6% C 0.168 H 317.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CA7BE4
RGBrgb(202, 123, 228)
HSLhsl(285, 66%, 69%)
HSVhsv(285, 46%, 89%)
CMYKcmyk(11.4%, 46.1%, 0%, 10.6%)
CIE-LABlab(63.61, 47.82, -41.10)
CIE-LCHlch(63.61, 63.06, 319.32°)
OKLaboklab(70.6% 0.1235 -0.1138)
OKLCHoklch(70.6% 0.168 317.3)
XYZxyz(45.4417, 32.3253, 77.2294)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BE4 #95E47B
analogous
#967BE4 #CA7BE4 #E47BCA
triadic
#CA7BE4 #E4CA7B #7BE4CA
tetradic
#CA7BE4 #E4967B #95E47B #7BCAE4
square
#CA7BE4 #E4967B #95E47B #7BCAE4
split-complementary
#CA7BE4 #CAE47B #7BE496
monochromatic
#9827BE #B648DA #CA7BE4 #DEAEEE #F3E1F9

Accessibility & contrast

On white

2.81
#CA7BE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CA7BE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BE4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BE4#FFFFFF#000000##000000
##CA7BE41.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6895E8
Deuteranopia (green-blind)
#7F9DE1
Tritanopia (blue-blind)
#CA8AA5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7be4;
/* rgb */ color: rgb(202, 123, 228);
/* oklch */ color: oklch(70.6% 0.168 317.3);
Tailwind
colors: {
  custom: {
    50: '#dca3ed',
    500: '#ca7be4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7be4;
$custom-light: #dca3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7be4",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 285.143,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70598,
    "c": 0.16794,
    "h": 317.3
  },
  "luminance": 0.32324
}

Semantic roles & 50–950 ramp

primary
#CA7BE4
secondary
#D6EDCE
accent
#CE1845
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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