#CA8BDF#CA8BDF

#CA8BDF is a light, vivid purple. Relative luminance 0.363; OKLCH L 72.9% C 0.136 H 317.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CA8BDF
RGBrgb(202, 139, 223)
HSLhsl(285, 57%, 71%)
HSVhsv(285, 38%, 87%)
CMYKcmyk(9.4%, 37.7%, 0%, 12.5%)
CIE-LABlab(66.79, 38.29, -33.38)
CIE-LCHlch(66.79, 50.79, 318.92°)
OKLaboklab(72.91% 0.0998 -0.0917)
OKLCHoklch(72.91% 0.136 317.4)
XYZxyz(46.9071, 36.3507, 74.3432)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BDF #A0DF8B
analogous
#A08BDF #CA8BDF #DF8BCA
triadic
#CA8BDF #DFCA8B #8BDFCA
tetradic
#CA8BDF #DFA08B #A0DF8B #8BCADF
square
#CA8BDF #DFA08B #A0DF8B #8BCADF
split-complementary
#CA8BDF #CADF8B #8BDFA0
monochromatic
#9A34BC #B45BD2 #CA8BDF #E0BBEC #F4E7F8

Accessibility & contrast

On white

2.54
#CA8BDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#CA8BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BDF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BDF#FFFFFF#000000##000000
##CA8BDF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9EE2
Deuteranopia (green-blind)
#8EA5DC
Tritanopia (blue-blind)
#CA96AB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8bdf;
/* rgb */ color: rgb(202, 139, 223);
/* oklch */ color: oklch(72.9% 0.136 317.4);
Tailwind
colors: {
  custom: {
    50: '#dbaee9',
    500: '#ca8bdf',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bdf;
$custom-light: #dbaee9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bdf",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 223
  },
  "hsl": {
    "h": 285,
    "s": 56.757,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72908,
    "c": 0.1355,
    "h": 317.4
  },
  "luminance": 0.3635
}

Semantic roles & 50–950 ramp

primary
#CA8BDF
secondary
#DDEED8
accent
#C4214A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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