#CA5FBA#CA5FBA

#CA5FBA is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.6% C 0.174 H 333.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CA5FBA
RGBrgb(202, 95, 186)
HSLhsl(309, 50%, 58%)
HSVhsv(309, 53%, 79%)
CMYKcmyk(0%, 53%, 7.9%, 20.8%)
CIE-LABlab(56.38, 54.14, -28.65)
CIE-LCHlch(56.38, 61.26, 332.11°)
OKLaboklab(64.62% 0.1557 -0.0779)
OKLCHoklch(64.62% 0.174 333.4)
XYZxyz(37.3122, 24.2887, 49.1678)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FBA #5FCA6F
analogous
#A45FCA #CA5FBA #CA5F84
triadic
#CA5FBA #BACA5F #5FBACA
tetradic
#CA5FBA #CAA45F #5FCA6F #5F84CA
square
#CA5FBA #CAA45F #5FCA6F #5F84CA
split-complementary
#CA5FBA #84CA5F #5FCAA4
monochromatic
#832B76 #B13B9F #CA5FBA #D98DCE #E8BBE2

Accessibility & contrast

On white

3.59
#CA5FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CA5FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FBA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FBA#FFFFFF#000000##000000
##CA5FBA1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#7D8DB7
Tritanopia (blue-blind)
#D26684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5fba;
/* rgb */ color: rgb(202, 95, 186);
/* oklch */ color: oklch(64.6% 0.174 333.4);
Tailwind
colors: {
  custom: {
    50: '#dc91cf',
    500: '#ca5fba',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fba;
$custom-light: #dc91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fba",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 308.972,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64624,
    "c": 0.17406,
    "h": 333.4
  },
  "luminance": 0.24286
}

Semantic roles & 50–950 ramp

primary
#CA5FBA
secondary
#ADD8B3
accent
#DA634E
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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