#CA5FCB#CA5FCB

#CA5FCB is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.4% C 0.189 H 327.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CA5FCB
RGBrgb(202, 95, 203)
HSLhsl(299, 51%, 58%)
HSVhsv(299, 53%, 80%)
CMYKcmyk(0.5%, 53.2%, 0%, 20.4%)
CIE-LABlab(57.13, 57.06, -37.21)
CIE-LCHlch(57.13, 68.12, 326.89°)
OKLaboklab(65.43% 0.1583 -0.1024)
OKLCHoklch(65.43% 0.189 327.1)
XYZxyz(39.2281, 25.0550, 59.2582)
Luminance0.2505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FCB #60CB5F
analogous
#945FCB #CA5FCB #CB5F96
triadic
#CA5FCB #CBCA5F #5FCBCA
tetradic
#CA5FCB #CB945F #60CB5F #5F96CB
square
#CA5FCB #CB945F #60CB5F #5F96CB
split-complementary
#CA5FCB #96CB5F #5FCB94
monochromatic
#842B85 #B23AB3 #CA5FCB #D98DDA #E9BBE9

Accessibility & contrast

On white

3.49
#CA5FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#CA5FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FCB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FCB#FFFFFF#000000##000000
##CA5FCB1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CE
Deuteranopia (green-blind)
#758EC8
Tritanopia (blue-blind)
#CF6B8C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca5fcb;
/* rgb */ color: rgb(202, 95, 203);
/* oklch */ color: oklch(65.4% 0.189 327.1);
Tailwind
colors: {
  custom: {
    50: '#dd91db',
    500: '#ca5fcb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fcb;
$custom-light: #dd91db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fcb",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 299.444,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65425,
    "c": 0.18852,
    "h": 327.1
  },
  "luminance": 0.25053
}

Semantic roles & 50–950 ramp

primary
#CA5FCB
secondary
#AED8AD
accent
#DA4D4F
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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