#CA7BE8#CA7BE8

#CA7BE8 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.8% C 0.172 H 316.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CA7BE8
RGBrgb(202, 123, 232)
HSLhsl(283, 70%, 70%)
HSVhsv(283, 47%, 91%)
CMYKcmyk(12.9%, 47%, 0%, 9%)
CIE-LABlab(63.79, 48.63, -43.03)
CIE-LCHlch(63.79, 64.94, 318.49°)
OKLaboklab(70.8% 0.1241 -0.1194)
OKLCHoklch(70.8% 0.172 316.1)
XYZxyz(46.0034, 32.5500, 80.1877)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BE8 #99E87B
analogous
#937BE8 #CA7BE8 #E87BD0
triadic
#CA7BE8 #E8CA7B #7BE8CA
tetradic
#CA7BE8 #E8937B #99E87B #7BD0E8
square
#CA7BE8 #E8937B #99E87B #7BD0E8
split-complementary
#CA7BE8 #D0E87B #7BE893
monochromatic
#9923C6 #B547DF #CA7BE8 #DFAFF1 #F4E3FA

Accessibility & contrast

On white

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

On black

7.51
#CA7BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BE8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BE8#FFFFFF#000000##000000
##CA7BE81.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EC
Deuteranopia (green-blind)
#7D9DE5
Tritanopia (blue-blind)
#C98BA7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7be8;
/* rgb */ color: rgb(202, 123, 232);
/* oklch */ color: oklch(70.8% 0.172 316.1);
Tailwind
colors: {
  custom: {
    50: '#dca3f0',
    500: '#ca7be8',
    950: '#000000',
  },
}
SCSS
$custom: #ca7be8;
$custom-light: #dca3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7be8",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 283.486,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70795,
    "c": 0.17218,
    "h": 316.1
  },
  "luminance": 0.32549
}

Semantic roles & 50–950 ramp

primary
#CA7BE8
secondary
#D8EFD0
accent
#D21348
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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