#CA3FBA#CA3FBA

#CA3FBA is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.0% C 0.219 H 332.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CA3FBA
RGBrgb(202, 63, 186)
HSLhsl(307, 57%, 52%)
HSVhsv(307, 69%, 79%)
CMYKcmyk(0%, 68.8%, 7.9%, 20.8%)
CIE-LABlab(51.45, 67.64, -36.34)
CIE-LCHlch(51.45, 76.78, 331.75°)
OKLaboklab(61.02% 0.1949 -0.0996)
OKLCHoklch(61.02% 0.219 332.9)
XYZxyz(34.9977, 19.6596, 48.3963)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3FBA #3FCA4F
analogous
#943FCA #CA3FBA #CA3F75
triadic
#CA3FBA #BACA3F #3FBACA
tetradic
#CA3FBA #CA943F #3FCA4F #3F75CA
square
#CA3FBA #CA943F #3FCA4F #3F75CA
split-complementary
#CA3FBA #75CA3F #3FCA94
monochromatic
#701F66 #A02C92 #CA3FBA #D76FCB #E49FDC

Accessibility & contrast

On white

4.26
#CA3FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CA3FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA3FBA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3FBA#FFFFFF#000000##000000
##CA3FBA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#6B82B7
Tritanopia (blue-blind)
#D34C78
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca3fba;
/* rgb */ color: rgb(202, 63, 186);
/* oklch */ color: oklch(61.0% 0.219 332.9);
Tailwind
colors: {
  custom: {
    50: '#de80cf',
    500: '#ca3fba',
    950: '#000000',
  },
}
SCSS
$custom: #ca3fba;
$custom-light: #de80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3fba",
  "rgb": {
    "r": 202,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 306.906,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61023,
    "c": 0.21889,
    "h": 332.9
  },
  "luminance": 0.19657
}

Semantic roles & 50–950 ramp

primary
#CA3FBA
secondary
#94D19B
accent
#E05948
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CA3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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