#CA4FB7#CA4FB7

#CA4FB7 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.5% C 0.196 H 334.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CA4FB7
RGBrgb(202, 79, 183)
HSLhsl(309, 54%, 55%)
HSVhsv(309, 61%, 79%)
CMYKcmyk(0%, 60.9%, 9.4%, 20.8%)
CIE-LABlab(53.57, 60.90, -31.28)
CIE-LCHlch(53.57, 68.46, 332.81°)
OKLaboklab(62.52% 0.1762 -0.0853)
OKLCHoklch(62.52% 0.196 334.2)
XYZxyz(35.7005, 21.5702, 47.0737)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FB7 #4FCA62
analogous
#9F4FCA #CA4FB7 #CA4F7A
triadic
#CA4FB7 #B7CA4F #4FB7CA
tetradic
#CA4FB7 #CA9F4F #4FCA62 #4F7ACA
square
#CA4FB7 #CA9F4F #4FCA62 #4F7ACA
split-complementary
#CA4FB7 #7ACA4F #4FCA9F
monochromatic
#7A256D #A93397 #CA4FB7 #D87ECA #E6ADDD

Accessibility & contrast

On white

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

On black

5.31
#CA4FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FB7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FB7#FFFFFF#000000##000000
##CA4FB71.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E74BA
Deuteranopia (green-blind)
#7587B4
Tritanopia (blue-blind)
#D3577C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca4fb7;
/* rgb */ color: rgb(202, 79, 183);
/* oklch */ color: oklch(62.5% 0.196 334.2);
Tailwind
colors: {
  custom: {
    50: '#dd88cd',
    500: '#ca4fb7',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fb7;
$custom-light: #dd88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fb7",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 309.268,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62517,
    "c": 0.19577,
    "h": 334.2
  },
  "luminance": 0.21567
}

Semantic roles & 50–950 ramp

primary
#CA4FB7
secondary
#A1D4A9
accent
#DD614B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA4FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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