#CA7CDB#CA7CDB

#CA7CDB is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.3% C 0.157 H 320.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CA7CDB
RGBrgb(202, 124, 219)
HSLhsl(289, 57%, 67%)
HSVhsv(289, 43%, 86%)
CMYKcmyk(7.8%, 43.4%, 0%, 14.1%)
CIE-LABlab(63.42, 45.50, -36.40)
CIE-LCHlch(63.42, 58.27, 321.34°)
OKLaboklab(70.32% 0.1206 -0.1003)
OKLCHoklch(70.32% 0.157 320.3)
XYZxyz(44.3494, 32.0879, 70.8615)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CDB #8DDB7C
analogous
#9B7CDB #CA7CDB #DB7CBD
triadic
#CA7CDB #DBCA7C #7CDBCA
tetradic
#CA7CDB #DB9B7C #8DDB7C #7CBDDB
square
#CA7CDB #DB9B7C #8DDB7C #7CBDDB
split-complementary
#CA7CDB #BDDB7C #7CDB9B
monochromatic
#9730AD #B74CCE #CA7CDB #DDACE8 #F1DCF5

Accessibility & contrast

On white

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

On black

7.42
#CA7CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CDB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CDB#FFFFFF#000000##000000
##CA7CDB1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DE
Deuteranopia (green-blind)
#849CD8
Tritanopia (blue-blind)
#CB88A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7cdb;
/* rgb */ color: rgb(202, 124, 219);
/* oklch */ color: oklch(70.3% 0.157 320.3);
Tailwind
colors: {
  custom: {
    50: '#dca4e6',
    500: '#ca7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cdb;
$custom-light: #dca4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cdb",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 289.263,
    "s": 56.886,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70321,
    "c": 0.15683,
    "h": 320.3
  },
  "luminance": 0.32086
}

Semantic roles & 50–950 ramp

primary
#CA7CDB
secondary
#D0E8CA
accent
#C4213E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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