#CA4FB8#CA4FB8

#CA4FB8 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.6% C 0.197 H 333.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CA4FB8
RGBrgb(202, 79, 184)
HSLhsl(309, 54%, 55%)
HSVhsv(309, 61%, 79%)
CMYKcmyk(0%, 60.9%, 8.9%, 20.8%)
CIE-LABlab(53.61, 61.05, -31.79)
CIE-LCHlch(53.61, 68.84, 332.49°)
OKLaboklab(62.56% 0.1764 -0.0867)
OKLCHoklch(62.56% 0.197 333.8)
XYZxyz(35.8050, 21.6119, 47.6238)
Luminance0.2161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FB8 #4FCA61
analogous
#9E4FCA #CA4FB8 #CA4F7B
triadic
#CA4FB8 #B8CA4F #4FB8CA
tetradic
#CA4FB8 #CA9E4F #4FCA61 #4F7BCA
square
#CA4FB8 #CA9E4F #4FCA61 #4F7BCA
split-complementary
#CA4FB8 #7BCA4F #4FCA9E
monochromatic
#7A256D #A93398 #CA4FB8 #D87ECB #E6ADDE

Accessibility & contrast

On white

3.95
#CA4FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CA4FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FB8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FB8#FFFFFF#000000##000000
##CA4FB81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BB
Deuteranopia (green-blind)
#7487B5
Tritanopia (blue-blind)
#D3587C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca4fb8;
/* rgb */ color: rgb(202, 79, 184);
/* oklch */ color: oklch(62.6% 0.197 333.8);
Tailwind
colors: {
  custom: {
    50: '#dd88cd',
    500: '#ca4fb8',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fb8;
$custom-light: #dd88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fb8",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 308.78,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62564,
    "c": 0.19654,
    "h": 333.8
  },
  "luminance": 0.21609
}

Semantic roles & 50–950 ramp

primary
#CA4FB8
secondary
#A1D4A8
accent
#DD604B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA4FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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