#C451B1#C451B1

#C451B1 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.6% C 0.184 H 334.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C451B1
RGBrgb(196, 81, 177)
HSLhsl(310, 49%, 54%)
HSVhsv(310, 59%, 77%)
CMYKcmyk(0%, 58.7%, 9.7%, 23.1%)
CIE-LABlab(52.73, 57.45, -29.18)
CIE-LCHlch(52.73, 64.44, 333.08°)
OKLaboklab(61.64% 0.1664 -0.0794)
OKLCHoklch(61.64% 0.184 334.5)
XYZxyz(33.6434, 20.7975, 43.8288)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C451B1 #51C464
analogous
#9E51C4 #C451B1 #C45178
triadic
#C451B1 #B1C451 #51B1C4
tetradic
#C451B1 #C49E51 #51C464 #5178C4
square
#C451B1 #C49E51 #51C464 #5178C4
split-complementary
#C451B1 #78C451 #51C49E
monochromatic
#732767 #A13790 #C451B1 #D37FC5 #E3ACDA

Accessibility & contrast

On white

4.07
#C451B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C451B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C451B1
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C451B1#FFFFFF#000000##000000
##C451B11.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5073B4
Deuteranopia (green-blind)
#7484AE
Tritanopia (blue-blind)
#CD587A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c451b1;
/* rgb */ color: rgb(196, 81, 177);
/* oklch */ color: oklch(61.6% 0.184 334.5);
Tailwind
colors: {
  custom: {
    50: '#d988c8',
    500: '#c451b1',
    950: '#000000',
  },
}
SCSS
$custom: #c451b1;
$custom-light: #d988c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c451b1",
  "rgb": {
    "r": 196,
    "g": 81,
    "b": 177
  },
  "hsl": {
    "h": 309.913,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61636,
    "c": 0.18434,
    "h": 334.5
  },
  "luminance": 0.20795
}

Semantic roles & 50–950 ramp

primary
#C451B1
secondary
#A0D1A8
accent
#D9664F
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C451B1

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

Preview Lab → · Contrast checker → · Palette generator →

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