#CA7CE7#CA7CE7

#CA7CE7 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.9% C 0.169 H 316.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CA7CE7
RGBrgb(202, 124, 231)
HSLhsl(284, 69%, 70%)
HSVhsv(284, 46%, 91%)
CMYKcmyk(12.6%, 46.3%, 0%, 9.4%)
CIE-LABlab(63.95, 47.90, -42.23)
CIE-LCHlch(63.95, 63.86, 318.60°)
OKLaboklab(70.9% 0.1226 -0.1171)
OKLCHoklch(70.9% 0.169 316.3)
XYZxyz(45.9864, 32.7427, 79.4833)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CE7 #99E77C
analogous
#957CE7 #CA7CE7 #E77CCF
triadic
#CA7CE7 #E7CA7C #7CE7CA
tetradic
#CA7CE7 #E7957C #99E77C #7CCFE7
square
#CA7CE7 #E7957C #99E77C #7CCFE7
split-complementary
#CA7CE7 #CFE77C #7CE795
monochromatic
#9924C5 #B548DE #CA7CE7 #DFB0F0 #F4E3FA

Accessibility & contrast

On white

2.78
#CA7CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CA7CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CE7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CE7#FFFFFF#000000##000000
##CA7CE71.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6896EB
Deuteranopia (green-blind)
#7E9DE4
Tritanopia (blue-blind)
#C98BA7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7ce7;
/* rgb */ color: rgb(202, 124, 231);
/* oklch */ color: oklch(70.9% 0.169 316.3);
Tailwind
colors: {
  custom: {
    50: '#dca4ef',
    500: '#ca7ce7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ce7;
$custom-light: #dca4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ce7",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 283.738,
    "s": 69.032,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70897,
    "c": 0.16949,
    "h": 316.3
  },
  "luminance": 0.32741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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