#C751FC#C751FC
#C751FC is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.2% C 0.251 H 313.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #C751FC |
|---|---|
| RGB | rgb(199, 81, 252) |
| HSL | hsl(281, 97%, 65%) |
| HSV | hsv(281, 68%, 99%) |
| CMYK | cmyk(21%, 67.9%, 0%, 1.2%) |
| CIE-LAB | lab(57.13, 71.76, -64.75) |
| CIE-LCH | lch(57.13, 96.65, 317.94°) |
| OKLab | oklab(66.2% 0.1722 -0.1825) |
| OKLCH | oklch(66.2% 0.251 313.3) |
| XYZ | xyz(44.0632, 25.0566, 94.5919) |
| Luminance | 0.2505 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.37
Bright Lavender
#C760FF
ΔE00 2.69
Heliotrope
#D94FF5
ΔE00 3.44
Lighter Purple
#A55AF4
ΔE00 5.59
Mediumorchid
#BA55D3
ΔE00 5.89
Easter Purple
#C071FE
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C751FC #86FC51
analogous
#7251FC #C751FC #FC51DB
triadic
#C751FC #FCC751 #51FCC7
tetradic
#C751FC #FC7251 #86FC51 #51DBFC
square
#C751FC #FC7251 #86FC51 #51DBFC
split-complementary
#C751FC #DBFC51 #51FC72
monochromatic
#9004CF #B415FB #C751FC #DA8DFD #EEC9FE
Accessibility & contrast
On white
3.49
#C751FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#C751FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C751FC
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C751FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C751FC | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#C274A1
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #c751fc; /* rgb */ color: rgb(199, 81, 252); /* oklch */ color: oklch(66.2% 0.251 313.3);
Tailwind
colors: {
custom: {
50: '#dc8afe',
500: '#c751fc',
950: '#000000',
},
}SCSS
$custom: #c751fc; $custom-light: #dc8afe; $custom-dark: #000000;
JSON
{
"hex": "#c751fc",
"rgb": {
"r": 199,
"g": 81,
"b": 252
},
"hsl": {
"h": 281.404,
"s": 96.61,
"l": 65.294
},
"oklch": {
"l": 0.66196,
"c": 0.25092,
"h": 313.3
},
"luminance": 0.25055
}Semantic roles & 50–950 ramp
primary
#C751FC
secondary
#C9F1B8
accent
#E60047
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86