#6245BC#6245BC
#6245BC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.178 H 289.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #6245BC |
|---|---|
| RGB | rgb(98, 69, 188) |
| HSL | hsl(255, 47%, 50%) |
| HSV | hsv(255, 63%, 74%) |
| CMYK | cmyk(47.9%, 63.3%, 0%, 26.3%) |
| CIE-LAB | lab(38.70, 41.69, -58.68) |
| CIE-LCH | lch(38.70, 71.99, 305.39°) |
| OKLab | oklab(48.93% 0.059 -0.1679) |
| OKLCH | oklch(48.93% 0.178 289.4) |
| XYZ | xyz(16.2396, 10.4831, 48.7350) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.83
Ocean Blue
#4F42B5
ΔE00 3.34
Blue With A Hint Of Purple
#533CC6
ΔE00 3.45
Blurple
#5539CC
ΔE00 4.01
Iris
#6258C4
ΔE00 5.69
Burple
#6832E3
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6245BC #9FBC45
analogous
#4563BC #6245BC #9E45BC
triadic
#6245BC #BC6245 #45BC62
tetradic
#6245BC #BC4563 #9FBC45 #45BC9E
square
#6245BC #BC4563 #9FBC45 #45BC9E
split-complementary
#6245BC #BC9E45 #63BC45
monochromatic
#332463 #4A3490 #6245BC #8872CC #AE9FDC
Accessibility & contrast
On white
6.78
#6245BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#6245BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6245BC
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6245BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6245BC | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#45617A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #6245bc; /* rgb */ color: rgb(98, 69, 188); /* oklch */ color: oklch(48.9% 0.178 289.4);
Tailwind
colors: {
custom: {
50: '#967ad1',
500: '#6245bc',
950: '#000000',
},
}SCSS
$custom: #6245bc; $custom-light: #967ad1; $custom-dark: #000000;
JSON
{
"hex": "#6245bc",
"rgb": {
"r": 98,
"g": 69,
"b": 188
},
"hsl": {
"h": 254.622,
"s": 47.036,
"l": 50.392
},
"oklch": {
"l": 0.48929,
"c": 0.17801,
"h": 289.4
},
"luminance": 0.10484
}Semantic roles & 50–950 ramp
primary
#6245BC
secondary
#BCC994
accent
#D751B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82