#B245E6#B245E6
#B245E6 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.238 H 312.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #B245E6 |
|---|---|
| RGB | rgb(178, 69, 230) |
| HSL | hsl(281, 76%, 59%) |
| HSV | hsv(281, 70%, 90%) |
| CMYK | cmyk(22.6%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(51.19, 67.97, -62.16) |
| CIE-LCH | lch(51.19, 92.10, 317.56°) |
| OKLab | oklab(60.93% 0.1607 -0.1755) |
| OKLCH | oklch(60.93% 0.238 312.5) |
| XYZ | xyz(34.7686, 19.4354, 76.7674) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.78
Neon Purple
#BC13FE
ΔE00 4.52
Hot Purple
#CB00F5
ΔE00 4.71
Bright Purple
#BE03FD
ΔE00 4.80
Mediumorchid
#BA55D3
ΔE00 4.91
Lighter Purple
#A55AF4
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B245E6 #79E645
analogous
#6145E6 #B245E6 #E645C9
triadic
#B245E6 #E6B245 #45E6B2
tetradic
#B245E6 #E66145 #79E645 #45C9E6
square
#B245E6 #E66145 #79E645 #45C9E6
split-complementary
#B245E6 #C9E645 #45E661
monochromatic
#70159C #971CD2 #B245E6 #C87BED #DFB1F5
Accessibility & contrast
On white
4.30
#B245E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#B245E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B245E6
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B245E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B245E6 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#347CE2
Tritanopia (blue-blind)
#AC6891
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #b245e6; /* rgb */ color: rgb(178, 69, 230); /* oklch */ color: oklch(60.9% 0.238 312.5);
Tailwind
colors: {
custom: {
50: '#ce82ef',
500: '#b245e6',
950: '#000000',
},
}SCSS
$custom: #b245e6; $custom-light: #ce82ef; $custom-dark: #000000;
JSON
{
"hex": "#b245e6",
"rgb": {
"r": 178,
"g": 69,
"b": 230
},
"hsl": {
"h": 280.621,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.60928,
"c": 0.23795,
"h": 312.5
},
"luminance": 0.19434
}Semantic roles & 50–950 ramp
primary
#B245E6
secondary
#B8E3A4
accent
#F33572
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84