#6C51F2#6C51F2
#6C51F2 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.229 H 283.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6C51F2 |
|---|---|
| RGB | rgb(108, 81, 242) |
| HSL | hsl(250, 86%, 63%) |
| HSV | hsv(250, 67%, 95%) |
| CMYK | cmyk(55.4%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(46.29, 52.51, -77.23) |
| CIE-LCH | lch(46.29, 93.39, 304.21°) |
| OKLab | oklab(55.95% 0.0547 -0.2221) |
| OKLCH | oklch(55.95% 0.229 283.8) |
| XYZ | xyz(25.1489, 15.4823, 85.6504) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.43
Purpley
#8756E4
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.31
Bluish Purple
#703BE7
ΔE00 5.38
Dark Periwinkle
#665FD1
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C51F2 #D7F251
analogous
#5186F2 #6C51F2 #BC51F2
triadic
#6C51F2 #F26C51 #51F26C
tetradic
#6C51F2 #F25186 #D7F251 #51F2BC
square
#6C51F2 #F25186 #D7F251 #51F2BC
split-complementary
#6C51F2 #F2BC51 #86F251
monochromatic
#2B0EBB #3C18EE #6C51F2 #9C8AF6 #CCC3FB
Accessibility & contrast
On white
5.13
#6C51F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#6C51F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C51F2
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C51F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C51F2 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#2A7A9B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6c51f2; /* rgb */ color: rgb(108, 81, 242); /* oklch */ color: oklch(55.9% 0.229 283.8);
Tailwind
colors: {
custom: {
50: '#a284f7',
500: '#6c51f2',
950: '#000000',
},
}SCSS
$custom: #6c51f2; $custom-light: #a284f7; $custom-dark: #000000;
JSON
{
"hex": "#6c51f2",
"rgb": {
"r": 108,
"g": 81,
"b": 242
},
"hsl": {
"h": 250.062,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.55949,
"c": 0.22876,
"h": 283.8
},
"luminance": 0.15484
}Semantic roles & 50–950 ramp
primary
#6C51F2
secondary
#E2ECB3
accent
#E303BD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85