#CA3FB7#CA3FB7

#CA3FB7 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.9% C 0.217 H 333.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CA3FB7
RGBrgb(202, 63, 183)
HSLhsl(308, 57%, 52%)
HSVhsv(308, 69%, 79%)
CMYKcmyk(0%, 68.8%, 9.4%, 20.8%)
CIE-LABlab(51.31, 67.18, -34.82)
CIE-LCHlch(51.31, 75.67, 332.60°)
OKLaboklab(60.87% 0.1947 -0.0952)
OKLCHoklch(60.87% 0.217 333.9)
XYZxyz(34.6821, 19.5334, 46.7343)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3FB7 #3FCA52
analogous
#973FCA #CA3FB7 #CA3F72
triadic
#CA3FB7 #B7CA3F #3FB7CA
tetradic
#CA3FB7 #CA973F #3FCA52 #3F72CA
square
#CA3FB7 #CA973F #3FCA52 #3F72CA
split-complementary
#CA3FB7 #72CA3F #3FCA97
monochromatic
#701F65 #A02C90 #CA3FB7 #D76FC9 #E49FDB

Accessibility & contrast

On white

4.28
#CA3FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CA3FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA3FB7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3FB7#FFFFFF#000000##000000
##CA3FB71.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6DBA
Deuteranopia (green-blind)
#6D81B4
Tritanopia (blue-blind)
#D34B76
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca3fb7;
/* rgb */ color: rgb(202, 63, 183);
/* oklch */ color: oklch(60.9% 0.217 333.9);
Tailwind
colors: {
  custom: {
    50: '#de80cd',
    500: '#ca3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #ca3fb7;
$custom-light: #de80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3fb7",
  "rgb": {
    "r": 202,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 308.201,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60871,
    "c": 0.21671,
    "h": 333.9
  },
  "luminance": 0.1953
}

Semantic roles & 50–950 ramp

primary
#CA3FB7
secondary
#94D19C
accent
#E05D48
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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