#6235C6#6235C6
#6235C6 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.209 H 290.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6235C6 |
|---|---|
| RGB | rgb(98, 53, 198) |
| HSL | hsl(259, 58%, 49%) |
| HSV | hsv(259, 73%, 78%) |
| CMYK | cmyk(50.5%, 73.2%, 0%, 22.4%) |
| CIE-LAB | lab(36.40, 53.05, -68.28) |
| CIE-LCH | lch(36.40, 86.46, 307.85°) |
| OKLab | oklab(47.54% 0.0725 -0.1961) |
| OKLCH | oklch(47.54% 0.209 290.3) |
| XYZ | xyz(16.5002, 9.2194, 54.3252) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.27
Bluey Purple
#6241C7
ΔE00 2.70
Blue With A Hint Of Purple
#533CC6
ΔE00 2.75
Purple Blue
#5D21D0
ΔE00 3.43
Burple
#6832E3
ΔE00 3.80
Purpley Blue
#5F34E7
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6235C6 #99C635
analogous
#3550C6 #6235C6 #AB35C6
triadic
#6235C6 #C66235 #35C662
tetradic
#6235C6 #C63550 #99C635 #35C6AB
square
#6235C6 #C63550 #99C635 #35C6AB
split-complementary
#6235C6 #C6AB35 #50C635
monochromatic
#321B65 #4A2896 #6235C6 #8663D5 #AC93E2
Accessibility & contrast
On white
7.38
#6235C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#6235C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6235C6
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6235C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6235C6 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#3F5C7B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6235c6; /* rgb */ color: rgb(98, 53, 198); /* oklch */ color: oklch(47.5% 0.209 290.3);
Tailwind
colors: {
custom: {
50: '#9871d8',
500: '#6235c6',
950: '#000000',
},
}SCSS
$custom: #6235c6; $custom-light: #9871d8; $custom-dark: #000000;
JSON
{
"hex": "#6235c6",
"rgb": {
"r": 98,
"g": 53,
"b": 198
},
"hsl": {
"h": 258.621,
"s": 57.769,
"l": 49.216
},
"oklch": {
"l": 0.47538,
"c": 0.20906,
"h": 290.3
},
"luminance": 0.0922
}Semantic roles & 50–950 ramp
primary
#6235C6
secondary
#B8CD8A
accent
#E147B1
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83