#C451BA#C451BA

#C451BA is a light, vivid purple. Relative luminance 0.212; OKLCH L 62.1% C 0.191 H 331.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C451BA
RGBrgb(196, 81, 186)
HSLhsl(305, 49%, 54%)
HSVhsv(305, 59%, 77%)
CMYKcmyk(0%, 58.7%, 5.1%, 23.1%)
CIE-LABlab(53.13, 58.92, -33.77)
CIE-LCHlch(53.13, 67.91, 330.18°)
OKLaboklab(62.07% 0.1677 -0.0925)
OKLCHoklch(62.07% 0.191 331.1)
XYZxyz(34.5702, 21.1682, 48.7099)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C451BA #51C45B
analogous
#9451C4 #C451BA #C45181
triadic
#C451BA #BAC451 #51BAC4
tetradic
#C451BA #C49451 #51C45B #5181C4
square
#C451BA #C49451 #51C45B #5181C4
split-complementary
#C451BA #81C451 #51C494
monochromatic
#73276D #A13798 #C451BA #D37FCC #E3ACDE

Accessibility & contrast

On white

4.01
#C451BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#C451BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C451BA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C451BA#FFFFFF#000000##000000
##C451BA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#7085B7
Tritanopia (blue-blind)
#CB5B7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c451ba;
/* rgb */ color: rgb(196, 81, 186);
/* oklch */ color: oklch(62.1% 0.191 331.1);
Tailwind
colors: {
  custom: {
    50: '#d988cf',
    500: '#c451ba',
    950: '#000000',
  },
}
SCSS
$custom: #c451ba;
$custom-light: #d988cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c451ba",
  "rgb": {
    "r": 196,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 305.217,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62066,
    "c": 0.19149,
    "h": 331.1
  },
  "luminance": 0.21166
}

Semantic roles & 50–950 ramp

primary
#C451BA
secondary
#A0D1A4
accent
#D95B4F
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C451BA

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

Preview Lab → · Contrast checker → · Palette generator →

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