#6D51F2#6D51F2
#6D51F2 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.229 H 284.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6D51F2 |
|---|---|
| RGB | rgb(109, 81, 242) |
| HSL | hsl(250, 86%, 63%) |
| HSV | hsv(250, 67%, 95%) |
| CMYK | cmyk(55%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(46.37, 52.67, -77.09) |
| CIE-LCH | lch(46.37, 93.36, 304.34°) |
| OKLab | oklab(56.03% 0.056 -0.2217) |
| OKLCH | oklch(56.03% 0.229 284.2) |
| XYZ | xyz(25.2712, 15.5454, 85.6561) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.48
Purpley
#8756E4
ΔE00 4.77
Light Indigo
#6D5ACF
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.33
Bluish Purple
#703BE7
ΔE00 5.37
Dark Periwinkle
#665FD1
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D51F2 #D6F251
analogous
#5185F2 #6D51F2 #BD51F2
triadic
#6D51F2 #F26D51 #51F26D
tetradic
#6D51F2 #F25185 #D6F251 #51F2BD
square
#6D51F2 #F25185 #D6F251 #51F2BD
split-complementary
#6D51F2 #F2BD51 #85F251
monochromatic
#2C0EBB #3D18EE #6D51F2 #9D8AF6 #CDC3FB
Accessibility & contrast
On white
5.11
#6D51F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#6D51F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D51F2
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D51F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D51F2 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#2E7A9B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6d51f2; /* rgb */ color: rgb(109, 81, 242); /* oklch */ color: oklch(56.0% 0.229 284.2);
Tailwind
colors: {
custom: {
50: '#a384f7',
500: '#6d51f2',
950: '#000000',
},
}SCSS
$custom: #6d51f2; $custom-light: #a384f7; $custom-dark: #000000;
JSON
{
"hex": "#6d51f2",
"rgb": {
"r": 109,
"g": 81,
"b": 242
},
"hsl": {
"h": 250.435,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.5603,
"c": 0.22865,
"h": 284.2
},
"luminance": 0.15547
}Semantic roles & 50–950 ramp
primary
#6D51F2
secondary
#E2ECB3
accent
#E303BC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85