#CA7BE7#CA7BE7

#CA7BE7 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.7% C 0.171 H 316.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CA7BE7
RGBrgb(202, 123, 231)
HSLhsl(284, 69%, 69%)
HSVhsv(284, 47%, 91%)
CMYKcmyk(12.6%, 46.8%, 0%, 9.4%)
CIE-LABlab(63.75, 48.43, -42.55)
CIE-LCHlch(63.75, 64.47, 318.69°)
OKLaboklab(70.75% 0.124 -0.118)
OKLCHoklch(70.75% 0.171 316.4)
XYZxyz(45.8617, 32.4934, 79.4418)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BE7 #98E77B
analogous
#947BE7 #CA7BE7 #E77BCE
triadic
#CA7BE7 #E7CA7B #7BE7CA
tetradic
#CA7BE7 #E7947B #98E77B #7BCEE7
square
#CA7BE7 #E7947B #98E77B #7BCEE7
split-complementary
#CA7BE7 #CEE77B #7BE794
monochromatic
#9924C4 #B547DE #CA7BE7 #DFAFF0 #F4E3FA

Accessibility & contrast

On white

2.80
#CA7BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CA7BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BE7
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BE7#FFFFFF#000000##000000
##CA7BE71.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6795EB
Deuteranopia (green-blind)
#7D9DE4
Tritanopia (blue-blind)
#C98AA6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7be7;
/* rgb */ color: rgb(202, 123, 231);
/* oklch */ color: oklch(70.7% 0.171 316.4);
Tailwind
colors: {
  custom: {
    50: '#dca3ef',
    500: '#ca7be7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7be7;
$custom-light: #dca3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7be7",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 283.889,
    "s": 69.231,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70745,
    "c": 0.17112,
    "h": 316.4
  },
  "luminance": 0.32492
}

Semantic roles & 50–950 ramp

primary
#CA7BE7
secondary
#D8EECF
accent
#D11447
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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