#6626C7#6626C7
#6626C7 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.5% C 0.224 H 293.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6626C7 |
|---|---|
| RGB | rgb(102, 38, 199) |
| HSL | hsl(264, 68%, 46%) |
| HSV | hsv(264, 81%, 78%) |
| CMYK | cmyk(48.7%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(34.67, 60.40, -71.69) |
| CIE-LCH | lch(34.67, 93.74, 310.12°) |
| OKLab | oklab(46.46% 0.0894 -0.2058) |
| OKLCH | oklch(46.46% 0.224 293.5) |
| XYZ | xyz(16.4785, 8.3340, 54.7621) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 1.80
Blurple
#5539CC
ΔE00 4.31
Blue Violet
#5D06E9
ΔE00 4.38
Violet Blue
#510AC9
ΔE00 4.39
Burple
#6832E3
ΔE00 4.57
Purply Blue
#661AEE
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6626C7 #87C726
analogous
#2637C7 #6626C7 #B726C7
triadic
#6626C7 #C76626 #26C766
tetradic
#6626C7 #C72637 #87C726 #26C7B7
square
#6626C7 #C72637 #87C726 #26C7B7
split-complementary
#6626C7 #C7B726 #37C726
monochromatic
#311260 #4C1C94 #6626C7 #864DDD #A981E7
Accessibility & contrast
On white
7.87
#6626C7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#6626C7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6626C7
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6626C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6626C7 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#475578
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6626c7; /* rgb */ color: rgb(102, 38, 199); /* oklch */ color: oklch(46.5% 0.224 293.5);
Tailwind
colors: {
custom: {
50: '#9c69d9',
500: '#6626c7',
950: '#000000',
},
}SCSS
$custom: #6626c7; $custom-light: #9c69d9; $custom-dark: #000000;
JSON
{
"hex": "#6626c7",
"rgb": {
"r": 102,
"g": 38,
"b": 199
},
"hsl": {
"h": 263.851,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.46457,
"c": 0.22439,
"h": 293.5
},
"luminance": 0.08335
}Semantic roles & 50–950 ramp
primary
#6626C7
secondary
#ADCF79
accent
#EB3DA6
background
#FAF6FD
surface
#F4EBFB
border
#CEC6D4
text
#0F0715
muted
#7F7A83