#CA4FBA#CA4FBA

#CA4FBA is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.7% C 0.198 H 333.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CA4FBA
RGBrgb(202, 79, 186)
HSLhsl(308, 54%, 55%)
HSVhsv(308, 61%, 79%)
CMYKcmyk(0%, 60.9%, 7.9%, 20.8%)
CIE-LABlab(53.70, 61.37, -32.81)
CIE-LCHlch(53.70, 69.59, 331.87°)
OKLaboklab(62.66% 0.1766 -0.0896)
OKLCHoklch(62.66% 0.198 333.1)
XYZxyz(36.0161, 21.6964, 48.7357)
Luminance0.2169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FBA #4FCA5F
analogous
#9D4FCA #CA4FBA #CA4F7C
triadic
#CA4FBA #BACA4F #4FBACA
tetradic
#CA4FBA #CA9D4F #4FCA5F #4F7CCA
square
#CA4FBA #CA9D4F #4FCA5F #4F7CCA
split-complementary
#CA4FBA #7CCA4F #4FCA9D
monochromatic
#7A256F #A9339A #CA4FBA #D87ECC #E6ADDF

Accessibility & contrast

On white

3.93
#CA4FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CA4FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FBA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FBA#FFFFFF#000000##000000
##CA4FBA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#7387B7
Tritanopia (blue-blind)
#D2597D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca4fba;
/* rgb */ color: rgb(202, 79, 186);
/* oklch */ color: oklch(62.7% 0.198 333.1);
Tailwind
colors: {
  custom: {
    50: '#dd88cf',
    500: '#ca4fba',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fba;
$custom-light: #dd88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fba",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 307.805,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6266,
    "c": 0.19807,
    "h": 333.1
  },
  "luminance": 0.21694
}

Semantic roles & 50–950 ramp

primary
#CA4FBA
secondary
#A1D4A7
accent
#DD5E4B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA4FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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