#6652F2#6652F2
#6652F2 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.6% C 0.228 H 281.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #6652F2 |
|---|---|
| RGB | rgb(102, 82, 242) |
| HSL | hsl(248, 86%, 64%) |
| HSV | hsv(248, 66%, 95%) |
| CMYK | cmyk(57.9%, 66.1%, 0%, 5.1%) |
| CIE-LAB | lab(46.00, 51.05, -77.72) |
| CIE-LCH | lch(46.00, 92.99, 303.30°) |
| OKLab | oklab(55.62% 0.0462 -0.2237) |
| OKLCH | oklch(55.62% 0.228 281.7) |
| XYZ | xyz(24.5188, 15.2685, 85.6423) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.43
Light Indigo
#6D5ACF
ΔE00 4.98
Slate Blue
#6A5ACD
ΔE00 5.19
Warm Blue
#4B57DB
ΔE00 5.34
Dark Periwinkle
#665FD1
ΔE00 5.44
Purpley
#8756E4
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6652F2 #DEF252
analogous
#528EF2 #6652F2 #B652F2
triadic
#6652F2 #F26652 #52F266
tetradic
#6652F2 #F2528E #DEF252 #52F2B6
square
#6652F2 #F2528E #DEF252 #52F2B6
split-complementary
#6652F2 #F2B652 #8EF252
monochromatic
#240EBC #3419EE #6652F2 #988BF6 #CBC4FB
Accessibility & contrast
On white
5.18
#6652F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#6652F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6652F2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6652F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6652F2 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#057B9B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6652f2; /* rgb */ color: rgb(102, 82, 242); /* oklch */ color: oklch(55.6% 0.228 281.7);
Tailwind
colors: {
custom: {
50: '#9f84f8',
500: '#6652f2',
950: '#000000',
},
}SCSS
$custom: #6652f2; $custom-light: #9f84f8; $custom-dark: #000000;
JSON
{
"hex": "#6652f2",
"rgb": {
"r": 102,
"g": 82,
"b": 242
},
"hsl": {
"h": 247.5,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.5562,
"c": 0.22845,
"h": 281.7
},
"luminance": 0.1527
}Semantic roles & 50–950 ramp
primary
#6652F2
secondary
#E5ECB4
accent
#E303C7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85