#C451F2#C451F2

#C451F2 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.2% C 0.241 H 314.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C451F2
RGBrgb(196, 81, 242)
HSLhsl(283, 86%, 63%)
HSVhsv(283, 67%, 95%)
CMYKcmyk(19%, 66.5%, 0%, 5.1%)
CIE-LABlab(56.12, 69.16, -60.83)
CIE-LCHlch(56.12, 92.11, 318.67°)
OKLaboklab(65.2% 0.1693 -0.1712)
OKLCHoklch(65.2% 0.241 314.7)
XYZxyz(41.7318, 24.0328, 86.4277)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C451F2 #7FF251
analogous
#7351F2 #C451F2 #F251CF
triadic
#C451F2 #F2C451 #51F2C4
tetradic
#C451F2 #F27351 #7FF251 #51CFF2
square
#C451F2 #F27351 #7FF251 #51CFF2
split-complementary
#C451F2 #CFF251 #51F273
monochromatic
#890EBB #B118EE #C451F2 #D78AF6 #EBC3FB

Accessibility & contrast

On white

3.62
#C451F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#C451F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C451F2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C451F2#FFFFFF#000000##000000
##C451F21.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4B89EE
Tritanopia (blue-blind)
#C0719B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c451f2;
/* rgb */ color: rgb(196, 81, 242);
/* oklch */ color: oklch(65.2% 0.241 314.7);
Tailwind
colors: {
  custom: {
    50: '#da8af7',
    500: '#c451f2',
    950: '#000000',
  },
}
SCSS
$custom: #c451f2;
$custom-light: #da8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#c451f2",
  "rgb": {
    "r": 196,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 282.857,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65195,
    "c": 0.24074,
    "h": 314.7
  },
  "luminance": 0.24031
}

Semantic roles & 50–950 ramp

primary
#C451F2
secondary
#C3ECB3
accent
#E30343
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C451F2

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

Preview Lab → · Contrast checker → · Palette generator →

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