#C251F4#C251F4

#C251F4 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.1% C 0.242 H 313.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C251F4
RGBrgb(194, 81, 244)
HSLhsl(282, 88%, 64%)
HSVhsv(282, 67%, 96%)
CMYKcmyk(20.5%, 66.8%, 0%, 4.3%)
CIE-LABlab(55.97, 69.14, -62.20)
CIE-LCHlch(55.97, 93.00, 318.02°)
OKLaboklab(65.07% 0.1668 -0.1752)
OKLCHoklch(65.07% 0.242 313.6)
XYZxyz(41.5169, 23.8871, 87.9941)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251F4 #83F451
analogous
#7051F4 #C251F4 #F451D4
triadic
#C251F4 #F4C251 #51F4C2
tetradic
#C251F4 #F47051 #83F451 #51D4F4
square
#C251F4 #F47051 #83F451 #51D4F4
split-complementary
#C251F4 #D4F451 #51F470
monochromatic
#880CBF #AE17F0 #C251F4 #D68BF8 #EAC4FB

Accessibility & contrast

On white

3.63
#C251F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#C251F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251F4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251F4#FFFFFF#000000##000000
##C251F41.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#4789F0
Tritanopia (blue-blind)
#BD729C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c251f4;
/* rgb */ color: rgb(194, 81, 244);
/* oklch */ color: oklch(65.1% 0.242 313.6);
Tailwind
colors: {
  custom: {
    50: '#d98af8',
    500: '#c251f4',
    950: '#000000',
  },
}
SCSS
$custom: #c251f4;
$custom-light: #d98af8;
$custom-dark: #000000;
JSON
{
  "hex": "#c251f4",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 244
  },
  "hsl": {
    "h": 281.595,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65073,
    "c": 0.24188,
    "h": 313.6
  },
  "luminance": 0.23886
}

Semantic roles & 50–950 ramp

primary
#C251F4
secondary
#C5EDB4
accent
#E50147
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C251F4

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

Preview Lab → · Contrast checker → · Palette generator →

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