#CA26B5#CA26B5

#CA26B5 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.9% C 0.240 H 334.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CA26B5
RGBrgb(202, 38, 181)
HSLhsl(308, 68%, 47%)
HSVhsv(308, 81%, 79%)
CMYKcmyk(0%, 81.2%, 10.4%, 20.8%)
CIE-LABlab(48.61, 74.30, -37.89)
CIE-LCHlch(48.61, 83.40, 332.98°)
OKLaboklab(58.9% 0.2163 -0.1039)
OKLCHoklch(58.9% 0.24 334.3)
XYZxyz(33.3911, 17.2820, 45.2843)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA26B5 #26CA3B
analogous
#8D26CA #CA26B5 #CA2663
triadic
#CA26B5 #B5CA26 #26B5CA
tetradic
#CA26B5 #CA8D26 #26CA3B #2663CA
square
#CA26B5 #CA8D26 #26CA3B #2663CA
split-complementary
#CA26B5 #63CA26 #26CA8D
monochromatic
#631359 #961C87 #CA26B5 #DE4FCC #E883DB

Accessibility & contrast

On white

4.71
#CA26B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CA26B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA26B5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA26B5#FFFFFF#000000##FFFFFF
##CA26B51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B9
Deuteranopia (green-blind)
#647CB1
Tritanopia (blue-blind)
#D4386E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca26b5;
/* rgb */ color: rgb(202, 38, 181);
/* oklch */ color: oklch(58.9% 0.240 334.3);
Tailwind
colors: {
  custom: {
    50: '#df76cb',
    500: '#ca26b5',
    950: '#000000',
  },
}
SCSS
$custom: #ca26b5;
$custom-light: #df76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca26b5",
  "rgb": {
    "r": 202,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 307.683,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58904,
    "c": 0.24,
    "h": 334.3
  },
  "luminance": 0.17279
}

Semantic roles & 50–950 ramp

primary
#CA26B5
secondary
#7BD186
accent
#EB533D
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA26B5

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

Preview Lab → · Contrast checker → · Palette generator →

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