#CA3FB8#CA3FB8

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

Color values

HEX#CA3FB8
RGBrgb(202, 63, 184)
HSLhsl(308, 57%, 52%)
HSVhsv(308, 69%, 79%)
CMYKcmyk(0%, 68.8%, 8.9%, 20.8%)
CIE-LABlab(51.35, 67.34, -35.33)
CIE-LCHlch(51.35, 76.04, 332.32°)
OKLaboklab(60.92% 0.1948 -0.0967)
OKLCHoklch(60.92% 0.217 333.6)
XYZxyz(34.7866, 19.5751, 47.2844)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3FB8 #3FCA51
analogous
#973FCA #CA3FB8 #CA3F73
triadic
#CA3FB8 #B8CA3F #3FB8CA
tetradic
#CA3FB8 #CA973F #3FCA51 #3F73CA
square
#CA3FB8 #CA973F #3FCA51 #3F73CA
split-complementary
#CA3FB8 #73CA3F #3FCA97
monochromatic
#701F65 #A02C91 #CA3FB8 #D76FCA #E49FDB

Accessibility & contrast

On white

4.27
#CA3FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA3FB8#FFFFFF#000000##000000
##CA3FB81.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBB
Deuteranopia (green-blind)
#6C82B5
Tritanopia (blue-blind)
#D34B77
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca3fb8;
/* rgb */ color: rgb(202, 63, 184);
/* oklch */ color: oklch(60.9% 0.217 333.6);
Tailwind
colors: {
  custom: {
    50: '#de80cd',
    500: '#ca3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #ca3fb8;
$custom-light: #de80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3fb8",
  "rgb": {
    "r": 202,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 307.77,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60921,
    "c": 0.21744,
    "h": 333.6
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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