#C251EF#C251EF

#C251EF is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.8% C 0.237 H 314.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#C251EF
RGBrgb(194, 81, 239)
HSLhsl(283, 83%, 63%)
HSVhsv(283, 66%, 94%)
CMYKcmyk(18.8%, 66.1%, 0%, 6.3%)
CIE-LABlab(55.67, 68.14, -59.89)
CIE-LCHlch(55.67, 90.72, 318.69°)
OKLaboklab(64.76% 0.1671 -0.1685)
OKLCHoklch(64.76% 0.237 314.8)
XYZxyz(40.7680, 23.5876, 84.0500)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251EF #7EEF51
analogous
#7351EF #C251EF #EF51CD
triadic
#C251EF #EFC251 #51EFC2
tetradic
#C251EF #EF7351 #7EEF51 #51CDEF
square
#C251EF #EF7351 #7EEF51 #51CDEF
split-complementary
#C251EF #CDEF51 #51EF73
monochromatic
#8611B5 #AE19EA #C251EF #D689F4 #E9C1F9

Accessibility & contrast

On white

3.67
#C251EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#C251EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251EF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251EF#FFFFFF#000000##000000
##C251EF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#4C88EB
Tritanopia (blue-blind)
#BE709A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c251ef;
/* rgb */ color: rgb(194, 81, 239);
/* oklch */ color: oklch(64.8% 0.237 314.8);
Tailwind
colors: {
  custom: {
    50: '#d88af5',
    500: '#c251ef',
    950: '#000000',
  },
}
SCSS
$custom: #c251ef;
$custom-light: #d88af5;
$custom-dark: #000000;
JSON
{
  "hex": "#c251ef",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 239
  },
  "hsl": {
    "h": 282.911,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6476,
    "c": 0.23726,
    "h": 314.8
  },
  "luminance": 0.23586
}

Semantic roles & 50–950 ramp

primary
#C251EF
secondary
#C2EAB1
accent
#E00644
background
#FDF8FF
surface
#FBF0FE
border
#D4CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #C251EF

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

Preview Lab → · Contrast checker → · Palette generator →

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