#6748C2#6748C2
#6748C2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.181 H 290.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #6748C2 |
|---|---|
| RGB | rgb(103, 72, 194) |
| HSL | hsl(255, 50%, 52%) |
| HSV | hsv(255, 63%, 76%) |
| CMYK | cmyk(46.9%, 62.9%, 0%, 23.9%) |
| CIE-LAB | lab(40.27, 42.71, -59.62) |
| CIE-LCH | lch(40.27, 73.34, 305.61°) |
| OKLab | oklab(50.33% 0.0621 -0.1705) |
| OKLCH | oklch(50.33% 0.181 290) |
| XYZ | xyz(17.6457, 11.4127, 52.3016) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.04
Blue With A Hint Of Purple
#533CC6
ΔE00 4.28
Ocean Blue
#4F42B5
ΔE00 4.54
Blurple
#5539CC
ΔE00 4.64
Iris
#6258C4
ΔE00 4.90
Slate Blue
#6A5ACD
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6748C2 #A3C248
analogous
#4866C2 #6748C2 #A448C2
triadic
#6748C2 #C26748 #48C267
tetradic
#6748C2 #C24866 #A3C248 #48C2A4
square
#6748C2 #C24866 #A3C248 #48C2A4
split-complementary
#6748C2 #C2A448 #66C248
monochromatic
#36246C #4D339A #6748C2 #8D76D1 #B3A4E1
Accessibility & contrast
On white
6.40
#6748C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#6748C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6748C2
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6748C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6748C2 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#4A657E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6748c2; /* rgb */ color: rgb(103, 72, 194); /* oklch */ color: oklch(50.3% 0.181 290.0);
Tailwind
colors: {
custom: {
50: '#997cd5',
500: '#6748c2',
950: '#000000',
},
}SCSS
$custom: #6748c2; $custom-light: #997cd5; $custom-dark: #000000;
JSON
{
"hex": "#6748c2",
"rgb": {
"r": 103,
"g": 72,
"b": 194
},
"hsl": {
"h": 255.246,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.50327,
"c": 0.18149,
"h": 290
},
"luminance": 0.11413
}Semantic roles & 50–950 ramp
primary
#6748C2
secondary
#C0CE98
accent
#DA4EB6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83