#C051F2#C051F2

#C051F2 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.7% C 0.239 H 313.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C051F2
RGBrgb(192, 81, 242)
HSLhsl(281, 86%, 63%)
HSVhsv(281, 67%, 95%)
CMYKcmyk(20.7%, 66.5%, 0%, 5.1%)
CIE-LABlab(55.59, 68.32, -61.72)
CIE-LCHlch(55.59, 92.07, 317.90°)
OKLaboklab(64.7% 0.1645 -0.1739)
OKLCHoklch(64.7% 0.239 313.4)
XYZxyz(40.7049, 23.5034, 86.3796)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051F2 #83F251
analogous
#6F51F2 #C051F2 #F251D4
triadic
#C051F2 #F2C051 #51F2C0
tetradic
#C051F2 #F26F51 #83F251 #51D4F2
square
#C051F2 #F26F51 #83F251 #51D4F2
split-complementary
#C051F2 #D4F251 #51F26F
monochromatic
#850EBB #AB18EE #C051F2 #D58AF6 #E9C3FB

Accessibility & contrast

On white

3.68
#C051F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#C051F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051F2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051F2#FFFFFF#000000##000000
##C051F21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#4688EE
Tritanopia (blue-blind)
#BB719B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c051f2;
/* rgb */ color: rgb(192, 81, 242);
/* oklch */ color: oklch(64.7% 0.239 313.4);
Tailwind
colors: {
  custom: {
    50: '#d789f7',
    500: '#c051f2',
    950: '#000000',
  },
}
SCSS
$custom: #c051f2;
$custom-light: #d789f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c051f2",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 281.366,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64701,
    "c": 0.23934,
    "h": 313.4
  },
  "luminance": 0.23502
}

Semantic roles & 50–950 ramp

primary
#C051F2
secondary
#C5ECB3
accent
#E30348
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C051F2

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

Preview Lab → · Contrast checker → · Palette generator →

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