#CA7CED#CA7CED

#CA7CED is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.2% C 0.176 H 314.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CA7CED
RGBrgb(202, 124, 237)
HSLhsl(281, 76%, 71%)
HSVhsv(281, 48%, 93%)
CMYKcmyk(14.8%, 47.7%, 0%, 7.1%)
CIE-LABlab(64.23, 49.14, -45.12)
CIE-LCHlch(64.23, 66.71, 317.44°)
OKLaboklab(71.2% 0.1234 -0.1254)
OKLCHoklch(71.2% 0.176 314.5)
XYZxyz(46.8484, 33.0875, 84.0230)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CED #9FED7C
analogous
#917CED #CA7CED #ED7CD7
triadic
#CA7CED #EDCA7C #7CEDCA
tetradic
#CA7CED #ED917C #9FED7C #7CD7ED
square
#CA7CED #ED917C #9FED7C #7CD7ED
split-complementary
#CA7CED #D7ED7C #7CED91
monochromatic
#9A1DD2 #B446E6 #CA7CED #E0B2F4 #F4E4FB

Accessibility & contrast

On white

2.76
#CA7CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CA7CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CED
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CED#FFFFFF#000000##000000
##CA7CED1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F1
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#C88DAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7ced;
/* rgb */ color: rgb(202, 124, 237);
/* oklch */ color: oklch(71.2% 0.176 314.5);
Tailwind
colors: {
  custom: {
    50: '#dca4f3',
    500: '#ca7ced',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ced;
$custom-light: #dca4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ced",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 281.416,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71196,
    "c": 0.17593,
    "h": 314.5
  },
  "luminance": 0.33086
}

Semantic roles & 50–950 ramp

primary
#CA7CED
secondary
#DDF2D3
accent
#D80D4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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