#6236CF#6236CF
#6236CF is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.218 H 288.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #6236CF |
|---|---|
| RGB | rgb(98, 54, 207) |
| HSL | hsl(257, 61%, 51%) |
| HSV | hsv(257, 74%, 81%) |
| CMYK | cmyk(52.7%, 73.9%, 0%, 18.8%) |
| CIE-LAB | lab(37.37, 55.03, -71.92) |
| CIE-LCH | lch(37.37, 90.56, 307.42°) |
| OKLab | oklab(48.46% 0.0696 -0.2068) |
| OKLCH | oklch(48.46% 0.218 288.6) |
| XYZ | xyz(17.6154, 9.7392, 59.9710) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.99
Bluey Purple
#6241C7
ΔE00 2.51
Burple
#6832E3
ΔE00 2.65
Blue With A Hint Of Purple
#533CC6
ΔE00 2.77
Purpley Blue
#5F34E7
ΔE00 2.96
Purple Blue
#5D21D0
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6236CF #A3CF36
analogous
#3656CF #6236CF #AE36CF
triadic
#6236CF #CF6236 #36CF62
tetradic
#6236CF #CF3656 #A3CF36 #36CFAE
square
#6236CF #CF3656 #A3CF36 #36CFAE
split-complementary
#6236CF #CFAE36 #56CF36
monochromatic
#331B70 #4A27A1 #6236CF #8967DB #AF99E7
Accessibility & contrast
On white
7.12
#6236CF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#6236CF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6236CF
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6236CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6236CF | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#386080
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #6236cf; /* rgb */ color: rgb(98, 54, 207); /* oklch */ color: oklch(48.5% 0.218 288.6);
Tailwind
colors: {
custom: {
50: '#9972df',
500: '#6236cf',
950: '#000000',
},
}SCSS
$custom: #6236cf; $custom-light: #9972df; $custom-dark: #000000;
JSON
{
"hex": "#6236cf",
"rgb": {
"r": 98,
"g": 54,
"b": 207
},
"hsl": {
"h": 257.255,
"s": 61.446,
"l": 51.176
},
"oklch": {
"l": 0.48463,
"c": 0.21818,
"h": 288.6
},
"luminance": 0.0974
}Semantic roles & 50–950 ramp
primary
#6236CF
secondary
#BFD28F
accent
#E543B6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83