#C251F2#C251F2

#C251F2 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.9% C 0.240 H 314.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#C251F2
RGBrgb(194, 81, 242)
HSLhsl(282, 86%, 63%)
HSVhsv(282, 67%, 95%)
CMYKcmyk(19.8%, 66.5%, 0%, 5.1%)
CIE-LABlab(55.85, 68.74, -61.28)
CIE-LCHlch(55.85, 92.09, 318.28°)
OKLaboklab(64.95% 0.1669 -0.1725)
OKLCHoklch(64.95% 0.24 314)
XYZxyz(41.2149, 23.7663, 86.4035)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251F2 #81F251
analogous
#7151F2 #C251F2 #F251D1
triadic
#C251F2 #F2C251 #51F2C2
tetradic
#C251F2 #F27151 #81F251 #51D1F2
square
#C251F2 #F27151 #81F251 #51D1F2
split-complementary
#C251F2 #D1F251 #51F271
monochromatic
#870EBB #AE18EE #C251F2 #D68AF6 #EAC3FB

Accessibility & contrast

On white

3.65
#C251F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#C251F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251F2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251F2#FFFFFF#000000##000000
##C251F21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4989EE
Tritanopia (blue-blind)
#BE719B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c251f2;
/* rgb */ color: rgb(194, 81, 242);
/* oklch */ color: oklch(64.9% 0.240 314.0);
Tailwind
colors: {
  custom: {
    50: '#d98af7',
    500: '#c251f2',
    950: '#000000',
  },
}
SCSS
$custom: #c251f2;
$custom-light: #d98af7;
$custom-dark: #000000;
JSON
{
  "hex": "#c251f2",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 282.112,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64947,
    "c": 0.24003,
    "h": 314
  },
  "luminance": 0.23765
}

Semantic roles & 50–950 ramp

primary
#C251F2
secondary
#C4ECB3
accent
#E30346
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C251F2

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

Preview Lab → · Contrast checker → · Palette generator →

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