#CA54CB#CA54CB

#CA54CB is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.1% C 0.205 H 327.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CA54CB
RGBrgb(202, 84, 203)
HSLhsl(299, 53%, 56%)
HSVhsv(299, 59%, 80%)
CMYKcmyk(0.5%, 58.6%, 0%, 20.4%)
CIE-LABlab(55.29, 62.05, -40.09)
CIE-LCHlch(55.29, 73.87, 327.13°)
OKLaboklab(64.08% 0.1724 -0.1106)
OKLCHoklch(64.08% 0.205 327.3)
XYZxyz(38.3063, 23.2114, 58.9509)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54CB #55CB54
analogous
#8F54CB #CA54CB #CB5491
triadic
#CA54CB #CBCA54 #54CBCA
tetradic
#CA54CB #CB8F54 #55CB54 #5491CB
square
#CA54CB #CB8F54 #55CB54 #5491CB
split-complementary
#CA54CB #91CB54 #54CB8F
monochromatic
#7D267E #AC35AD #CA54CB #D983D9 #E7B2E8

Accessibility & contrast

On white

3.72
#CA54CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CA54CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54CB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54CB#FFFFFF#000000##000000
##CA54CB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#6E8AC8
Tritanopia (blue-blind)
#D06388
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca54cb;
/* rgb */ color: rgb(202, 84, 203);
/* oklch */ color: oklch(64.1% 0.205 327.3);
Tailwind
colors: {
  custom: {
    50: '#dd8bdb',
    500: '#ca54cb',
    950: '#000000',
  },
}
SCSS
$custom: #ca54cb;
$custom-light: #dd8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54cb",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 299.496,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64079,
    "c": 0.20478,
    "h": 327.3
  },
  "luminance": 0.23209
}

Semantic roles & 50–950 ramp

primary
#CA54CB
secondary
#A5D6A5
accent
#DD4B4C
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #CA54CB

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

Preview Lab → · Contrast checker → · Palette generator →

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