#C251E8#C251E8

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

Color values

HEX#C251E8
RGBrgb(194, 81, 232)
HSLhsl(285, 77%, 61%)
HSVhsv(285, 65%, 91%)
CMYKcmyk(16.4%, 65.1%, 0%, 9%)
CIE-LABlab(55.26, 66.77, -56.63)
CIE-LCHlch(55.26, 87.56, 319.70°)
OKLaboklab(64.33% 0.1674 -0.1589)
OKLCHoklch(64.33% 0.231 316.5)
XYZxyz(39.7539, 23.1819, 78.7088)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251E8 #77E851
analogous
#7751E8 #C251E8 #E851C2
triadic
#C251E8 #E8C251 #51E8C2
tetradic
#C251E8 #E87751 #77E851 #51C2E8
square
#C251E8 #E87751 #77E851 #51C2E8
split-complementary
#C251E8 #C2E851 #51E877
monochromatic
#8416A8 #AE1DDE #C251E8 #D587EF #E8BDF6

Accessibility & contrast

On white

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

On black

5.64
#C251E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251E8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251E8#FFFFFF#000000##000000
##C251E81.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7DED
Deuteranopia (green-blind)
#5288E4
Tritanopia (blue-blind)
#C06D96
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c251e8;
/* rgb */ color: rgb(194, 81, 232);
/* oklch */ color: oklch(64.3% 0.231 316.5);
Tailwind
colors: {
  custom: {
    50: '#d889f0',
    500: '#c251e8',
    950: '#000000',
  },
}
SCSS
$custom: #c251e8;
$custom-light: #d889f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c251e8",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 284.901,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6433,
    "c": 0.23082,
    "h": 316.5
  },
  "luminance": 0.2318
}

Semantic roles & 50–950 ramp

primary
#C251E8
secondary
#BCE7AE
accent
#D90D40
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C251E8

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

Preview Lab → · Contrast checker → · Palette generator →

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