#CA7DDF#CA7DDF

#CA7DDF is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.7% C 0.159 H 318.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CA7DDF
RGBrgb(202, 125, 223)
HSLhsl(287, 60%, 68%)
HSVhsv(287, 44%, 87%)
CMYKcmyk(9.4%, 43.9%, 0%, 12.5%)
CIE-LABlab(63.80, 45.77, -38.03)
CIE-LCHlch(63.80, 59.51, 320.28°)
OKLaboklab(70.66% 0.1199 -0.1049)
OKLCHoklch(70.66% 0.159 318.8)
XYZxyz(45.0082, 32.5530, 73.7102)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DDF #92DF7D
analogous
#997DDF #CA7DDF #DF7DC3
triadic
#CA7DDF #DFCA7D #7DDFCA
tetradic
#CA7DDF #DF997D #92DF7D #7DC3DF
square
#CA7DDF #DF997D #92DF7D #7DC3DF
split-complementary
#CA7DDF #C3DF7D #7DDF99
monochromatic
#982DB5 #B64CD3 #CA7DDF #DEAEEB #F2DFF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7DDF#FFFFFF#000000##000000
##CA7DDF1.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)
#6E95E2
Deuteranopia (green-blind)
#839DDC
Tritanopia (blue-blind)
#CA8AA4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7ddf;
/* rgb */ color: rgb(202, 125, 223);
/* oklch */ color: oklch(70.7% 0.159 318.8);
Tailwind
colors: {
  custom: {
    50: '#dca4e9',
    500: '#ca7ddf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ddf;
$custom-light: #dca4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ddf",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 287.143,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70663,
    "c": 0.15934,
    "h": 318.8
  },
  "luminance": 0.32552
}

Semantic roles & 50–950 ramp

primary
#CA7DDF
secondary
#D3EBCD
accent
#C81D42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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