#CA27B7#CA27B7

#CA27B7 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.1% C 0.241 H 333.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CA27B7
RGBrgb(202, 39, 183)
HSLhsl(307, 68%, 47%)
HSVhsv(307, 81%, 79%)
CMYKcmyk(0%, 80.7%, 9.4%, 20.8%)
CIE-LABlab(48.80, 74.35, -38.77)
CIE-LCHlch(48.80, 83.85, 332.46°)
OKLaboklab(59.07% 0.2157 -0.1064)
OKLCHoklch(59.07% 0.241 333.7)
XYZxyz(33.6302, 17.4295, 46.3836)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA27B7 #27CA3A
analogous
#8C27CA #CA27B7 #CA2765
triadic
#CA27B7 #B7CA27 #27B7CA
tetradic
#CA27B7 #CA8C27 #27CA3A #2765CA
square
#CA27B7 #CA8C27 #27CA3A #2765CA
split-complementary
#CA27B7 #65CA27 #27CA8C
monochromatic
#63135A #971D89 #CA27B7 #DD51CD #E784DC

Accessibility & contrast

On white

4.68
#CA27B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#CA27B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA27B7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA27B7#FFFFFF#000000##FFFFFF
##CA27B71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BB
Deuteranopia (green-blind)
#647CB3
Tritanopia (blue-blind)
#D43A70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca27b7;
/* rgb */ color: rgb(202, 39, 183);
/* oklch */ color: oklch(59.1% 0.241 333.7);
Tailwind
colors: {
  custom: {
    50: '#df76cd',
    500: '#ca27b7',
    950: '#000000',
  },
}
SCSS
$custom: #ca27b7;
$custom-light: #df76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca27b7",
  "rgb": {
    "r": 202,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 306.994,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.59068,
    "c": 0.24055,
    "h": 333.7
  },
  "luminance": 0.17426
}

Semantic roles & 50–950 ramp

primary
#CA27B7
secondary
#7CD086
accent
#EB513D
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA27B7

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

Preview Lab → · Contrast checker → · Palette generator →

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