#C748E2#C748E2
#C748E2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.7% C 0.239 H 320.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C748E2 |
|---|---|
| RGB | rgb(199, 72, 226) |
| HSL | hsl(289, 73%, 58%) |
| HSV | hsv(289, 68%, 89%) |
| CMYK | cmyk(11.9%, 68.1%, 0%, 11.4%) |
| CIE-LAB | lab(54.31, 70.36, -54.73) |
| CIE-LCH | lch(54.31, 89.14, 322.12°) |
| OKLab | oklab(63.68% 0.183 -0.1531) |
| OKLCH | oklch(63.68% 0.239 320.1) |
| XYZ | xyz(39.5963, 22.2698, 74.1496) |
| Luminance | 0.2227 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.95
Pinkish Purple
#D648D7
ΔE00 3.70
Purple Pink
#D725DE
ΔE00 3.70
Heliotrope
#D94FF5
ΔE00 4.39
Hot Purple
#CB00F5
ΔE00 5.50
Bright Lilac
#C95EFB
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C748E2 #63E248
analogous
#7A48E2 #C748E2 #E248B0
triadic
#C748E2 #E2C748 #48E2C7
tetradic
#C748E2 #E27A48 #63E248 #48B0E2
square
#C748E2 #E27A48 #63E248 #48B0E2
split-complementary
#C748E2 #B0E248 #48E27A
monochromatic
#811898 #AE20CC #C748E2 #D77DEA #E7B2F3
Accessibility & contrast
On white
3.85
#C748E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#C748E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C748E2
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C748E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C748E2 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#5686DE
Tritanopia (blue-blind)
#C86490
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #c748e2; /* rgb */ color: rgb(199, 72, 226); /* oklch */ color: oklch(63.7% 0.239 320.1);
Tailwind
colors: {
custom: {
50: '#dc85ec',
500: '#c748e2',
950: '#000000',
},
}SCSS
$custom: #c748e2; $custom-light: #dc85ec; $custom-dark: #000000;
JSON
{
"hex": "#c748e2",
"rgb": {
"r": 199,
"g": 72,
"b": 226
},
"hsl": {
"h": 289.481,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.63681,
"c": 0.23863,
"h": 320.1
},
"luminance": 0.22268
}Semantic roles & 50–950 ramp
primary
#C748E2
secondary
#AFE1A4
accent
#EF3859
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#150C16
muted
#847D84