#CA7FDB#CA7FDB

#CA7FDB is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.8% C 0.152 H 320.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CA7FDB
RGBrgb(202, 127, 219)
HSLhsl(289, 56%, 68%)
HSVhsv(289, 42%, 86%)
CMYKcmyk(7.8%, 42%, 0%, 14.1%)
CIE-LABlab(64.04, 43.92, -35.42)
CIE-LCHlch(64.04, 56.42, 321.11°)
OKLaboklab(70.79% 0.1163 -0.0975)
OKLCHoklch(70.79% 0.152 320)
XYZxyz(44.7311, 32.8513, 70.9888)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FDB #90DB7F
analogous
#9C7FDB #CA7FDB #DB7FBE
triadic
#CA7FDB #DBCA7F #7FDBCA
tetradic
#CA7FDB #DB9C7F #90DB7F #7FBEDB
square
#CA7FDB #DB9C7F #90DB7F #7FBEDB
split-complementary
#CA7FDB #BEDB7F #7FDB9C
monochromatic
#9731AF #B64FCE #CA7FDB #DEAFE8 #F2DFF6

Accessibility & contrast

On white

2.77
#CA7FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CA7FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FDB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FDB#FFFFFF#000000##000000
##CA7FDB1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DE
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#CB8AA3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7fdb;
/* rgb */ color: rgb(202, 127, 219);
/* oklch */ color: oklch(70.8% 0.152 320.0);
Tailwind
colors: {
  custom: {
    50: '#dba6e6',
    500: '#ca7fdb',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fdb;
$custom-light: #dba6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fdb",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 288.913,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70788,
    "c": 0.15175,
    "h": 320
  },
  "luminance": 0.3285
}

Semantic roles & 50–950 ramp

primary
#CA7FDB
secondary
#D2E9CD
accent
#C42240
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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