#CA8FDB#CA8FDB

#CA8FDB is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.4% C 0.124 H 318.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#CA8FDB
RGBrgb(202, 143, 219)
HSLhsl(287, 51%, 71%)
HSVhsv(287, 35%, 86%)
CMYKcmyk(7.8%, 34.7%, 0%, 14.1%)
CIE-LABlab(67.51, 35.31, -30.04)
CIE-LCHlch(67.51, 46.36, 319.61°)
OKLaboklab(73.41% 0.093 -0.0822)
OKLCHoklch(73.41% 0.124 318.5)
XYZxyz(46.9640, 37.3172, 71.7331)
Luminance0.3732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FDB #A0DB8F
analogous
#A48FDB #CA8FDB #DB8FC6
triadic
#CA8FDB #DBCA8F #8FDBCA
tetradic
#CA8FDB #DBA48F #A0DB8F #8FC6DB
square
#CA8FDB #DBA48F #A0DB8F #8FC6DB
split-complementary
#CA8FDB #C6DB8F #8FDBA4
monochromatic
#9A3AB5 #B461CC #CA8FDB #E0BDEA #F4E8F8

Accessibility & contrast

On white

2.48
#CA8FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#CA8FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FDB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FDB#FFFFFF#000000##000000
##CA8FDB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DE
Deuteranopia (green-blind)
#93A6D9
Tritanopia (blue-blind)
#CA98AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8fdb;
/* rgb */ color: rgb(202, 143, 219);
/* oklch */ color: oklch(73.4% 0.124 318.5);
Tailwind
colors: {
  custom: {
    50: '#dbb0e6',
    500: '#ca8fdb',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fdb;
$custom-light: #dbb0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fdb",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 286.579,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73405,
    "c": 0.12412,
    "h": 318.5
  },
  "luminance": 0.37316
}

Semantic roles & 50–950 ramp

primary
#CA8FDB
secondary
#DDEDD9
accent
#BF2749
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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