#CA7EE8#CA7EE8

#CA7EE8 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.3% C 0.167 H 315.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CA7EE8
RGBrgb(202, 126, 232)
HSLhsl(283, 70%, 70%)
HSVhsv(283, 46%, 91%)
CMYKcmyk(12.9%, 45.7%, 0%, 9%)
CIE-LABlab(64.41, 47.06, -42.07)
CIE-LCHlch(64.41, 63.12, 318.20°)
OKLaboklab(71.25% 0.1199 -0.1166)
OKLCHoklch(71.25% 0.167 315.8)
XYZxyz(46.3813, 33.3058, 80.3137)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EE8 #9CE87E
analogous
#957EE8 #CA7EE8 #E87ED1
triadic
#CA7EE8 #E8CA7E #7EE8CA
tetradic
#CA7EE8 #E8957E #9CE87E #7ED1E8
square
#CA7EE8 #E8957E #9CE87E #7ED1E8
split-complementary
#CA7EE8 #D1E87E #7EE895
monochromatic
#9924C8 #B54ADF #CA7EE8 #DFB2F1 #F4E5FA

Accessibility & contrast

On white

2.74
#CA7EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#CA7EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EE8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EE8#FFFFFF#000000##000000
##CA7EE81.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EC
Deuteranopia (green-blind)
#7F9EE5
Tritanopia (blue-blind)
#C98DA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7ee8;
/* rgb */ color: rgb(202, 126, 232);
/* oklch */ color: oklch(71.3% 0.167 315.8);
Tailwind
colors: {
  custom: {
    50: '#dca5ef',
    500: '#ca7ee8',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ee8;
$custom-light: #dca5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ee8",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 283.019,
    "s": 69.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71251,
    "c": 0.16728,
    "h": 315.8
  },
  "luminance": 0.33304
}

Semantic roles & 50–950 ramp

primary
#CA7EE8
secondary
#DBF0D2
accent
#D2144A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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