#CA7BDE#CA7BDE

#CA7BDE is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.3% C 0.162 H 319.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CA7BDE
RGBrgb(202, 123, 222)
HSLhsl(288, 60%, 68%)
HSVhsv(288, 45%, 87%)
CMYKcmyk(9%, 44.6%, 0%, 12.9%)
CIE-LABlab(63.34, 46.62, -38.19)
CIE-LCHlch(63.34, 60.26, 320.68°)
OKLaboklab(70.31% 0.1226 -0.1054)
OKLCHoklch(70.31% 0.162 319.3)
XYZxyz(44.6232, 31.9979, 72.9187)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BDE #8FDE7B
analogous
#997BDE #CA7BDE #DE7BC0
triadic
#CA7BDE #DECA7B #7BDECA
tetradic
#CA7BDE #DE997B #8FDE7B #7BC0DE
square
#CA7BDE #DE997B #8FDE7B #7BC0DE
split-complementary
#CA7BDE #C0DE7B #7BDE99
monochromatic
#972DB2 #B64AD2 #CA7BDE #DEACEA #F1DDF6

Accessibility & contrast

On white

2.84
#CA7BDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CA7BDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BDE
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BDE#FFFFFF#000000##000000
##CA7BDE1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C94E1
Deuteranopia (green-blind)
#819CDB
Tritanopia (blue-blind)
#CB88A2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7bde;
/* rgb */ color: rgb(202, 123, 222);
/* oklch */ color: oklch(70.3% 0.162 319.3);
Tailwind
colors: {
  custom: {
    50: '#dca3e8',
    500: '#ca7bde',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bde;
$custom-light: #dca3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bde",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 222
  },
  "hsl": {
    "h": 287.879,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70308,
    "c": 0.16163,
    "h": 319.3
  },
  "luminance": 0.31996
}

Semantic roles & 50–950 ramp

primary
#CA7BDE
secondary
#D1EACB
accent
#C81E40
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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