#C951F2#C951F2

#C951F2 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.8% C 0.243 H 316.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#C951F2
RGBrgb(201, 81, 242)
HSLhsl(285, 86%, 63%)
HSVhsv(285, 67%, 95%)
CMYKcmyk(16.9%, 66.5%, 0%, 5.1%)
CIE-LABlab(56.80, 70.22, -59.71)
CIE-LCHlch(56.80, 92.18, 319.62°)
OKLaboklab(65.82% 0.1752 -0.1677)
OKLCHoklch(65.82% 0.243 316.3)
XYZxyz(43.0544, 24.7148, 86.4897)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951F2 #7AF251
analogous
#7851F2 #C951F2 #F251CB
triadic
#C951F2 #F2C951 #51F2C9
tetradic
#C951F2 #F27851 #7AF251 #51CBF2
square
#C951F2 #F27851 #7AF251 #51CBF2
split-complementary
#C951F2 #CBF251 #51F278
monochromatic
#8F0EBB #B718EE #C951F2 #DB8AF6 #ECC3FB

Accessibility & contrast

On white

3.53
#C951F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#C951F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951F2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951F2#FFFFFF#000000##000000
##C951F21.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#518CEE
Tritanopia (blue-blind)
#C7709B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c951f2;
/* rgb */ color: rgb(201, 81, 242);
/* oklch */ color: oklch(65.8% 0.243 316.3);
Tailwind
colors: {
  custom: {
    50: '#dd8af7',
    500: '#c951f2',
    950: '#000000',
  },
}
SCSS
$custom: #c951f2;
$custom-light: #dd8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#c951f2",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 284.72,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65819,
    "c": 0.24257,
    "h": 316.3
  },
  "luminance": 0.24713
}

Semantic roles & 50–950 ramp

primary
#C951F2
secondary
#C1ECB3
accent
#E3033C
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #C951F2

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

Preview Lab → · Contrast checker → · Palette generator →

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