#C251E7#C251E7

#C251E7 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.3% C 0.230 H 316.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#C251E7
RGBrgb(194, 81, 231)
HSLhsl(285, 76%, 61%)
HSVhsv(285, 65%, 91%)
CMYKcmyk(16%, 64.9%, 0%, 9.4%)
CIE-LABlab(55.20, 66.58, -56.16)
CIE-LCHlch(55.20, 87.10, 319.85°)
OKLaboklab(64.27% 0.1674 -0.1575)
OKLCHoklch(64.27% 0.23 316.7)
XYZxyz(39.6122, 23.1253, 77.9628)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251E7 #76E751
analogous
#7751E7 #C251E7 #E751C1
triadic
#C251E7 #E7C251 #51E7C2
tetradic
#C251E7 #E77751 #76E751 #51C1E7
square
#C251E7 #E77751 #76E751 #51C1E7
split-complementary
#C251E7 #C1E751 #51E777
monochromatic
#8317A7 #AE1EDC #C251E7 #D587EE #E8BDF6

Accessibility & contrast

On white

3.73
#C251E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#C251E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251E7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251E7#FFFFFF#000000##000000
##C251E71.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#107DEB
Deuteranopia (green-blind)
#5388E3
Tritanopia (blue-blind)
#C06D95
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c251e7;
/* rgb */ color: rgb(194, 81, 231);
/* oklch */ color: oklch(64.3% 0.230 316.7);
Tailwind
colors: {
  custom: {
    50: '#d889ef',
    500: '#c251e7',
    950: '#000000',
  },
}
SCSS
$custom: #c251e7;
$custom-light: #d889ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c251e7",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 285.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6427,
    "c": 0.2299,
    "h": 316.7
  },
  "luminance": 0.23124
}

Semantic roles & 50–950 ramp

primary
#C251E7
secondary
#BCE6AE
accent
#D80E3F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C251E7

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

Preview Lab → · Contrast checker → · Palette generator →

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