#CA7BDF#CA7BDF

#CA7BDF is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.4% C 0.163 H 319.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CA7BDF
RGBrgb(202, 123, 223)
HSLhsl(287, 61%, 68%)
HSVhsv(287, 45%, 87%)
CMYKcmyk(9.4%, 44.8%, 0%, 12.5%)
CIE-LABlab(63.39, 46.82, -38.67)
CIE-LCHlch(63.39, 60.72, 320.44°)
OKLaboklab(70.36% 0.1227 -0.1068)
OKLCHoklch(70.36% 0.163 319)
XYZxyz(44.7576, 32.0517, 73.6267)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BDF #90DF7B
analogous
#987BDF #CA7BDF #DF7BC2
triadic
#CA7BDF #DFCA7B #7BDFCA
tetradic
#CA7BDF #DF987B #90DF7B #7BC2DF
square
#CA7BDF #DF987B #90DF7B #7BC2DF
split-complementary
#CA7BDF #C2DF7B #7BDF98
monochromatic
#972CB4 #B64AD3 #CA7BDF #DEACEB #F2DEF7

Accessibility & contrast

On white

2.83
#CA7BDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CA7BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BDF
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BDF#FFFFFF#000000##000000
##CA7BDF1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E3
Deuteranopia (green-blind)
#819CDC
Tritanopia (blue-blind)
#CB88A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7bdf;
/* rgb */ color: rgb(202, 123, 223);
/* oklch */ color: oklch(70.4% 0.163 319.0);
Tailwind
colors: {
  custom: {
    50: '#dca3e9',
    500: '#ca7bdf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bdf;
$custom-light: #dca3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bdf",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 287.4,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70356,
    "c": 0.16267,
    "h": 319
  },
  "luminance": 0.3205
}

Semantic roles & 50–950 ramp

primary
#CA7BDF
secondary
#D2EACB
accent
#C91D41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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