#6142F3#6142F3
#6142F3 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.247 H 282.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6142F3 |
|---|---|
| RGB | rgb(97, 66, 243) |
| HSL | hsl(251, 88%, 61%) |
| HSV | hsv(251, 73%, 95%) |
| CMYK | cmyk(60.1%, 72.8%, 0%, 4.7%) |
| CIE-LAB | lab(42.62, 59.12, -83.84) |
| CIE-LCH | lch(42.62, 102.59, 305.19°) |
| OKLab | oklab(53.14% 0.0512 -0.2417) |
| OKLCH | oklch(53.14% 0.247 282) |
| XYZ | xyz(23.0506, 12.9073, 86.0533) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 0.74
Bluish Purple
#703BE7
ΔE00 2.82
Purpley Blue
#5F34E7
ΔE00 3.56
Burple
#6832E3
ΔE00 4.08
Light Royal Blue
#3A2EFE
ΔE00 5.11
Purplish Blue
#601EF9
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6142F3 #D4F342
analogous
#427CF3 #6142F3 #B942F3
triadic
#6142F3 #F36142 #42F361
tetradic
#6142F3 #F3427C #D4F342 #42F3B9
square
#6142F3 #F3427C #D4F342 #42F3B9
split-complementary
#6142F3 #F3B942 #7CF342
monochromatic
#280BAF #350FE9 #6142F3 #917CF7 #C1B5FA
Accessibility & contrast
On white
5.86
#6142F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#6142F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6142F3
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6142F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6142F3 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AF8
Deuteranopia (green-blind)
#005EF0
Tritanopia (blue-blind)
#007497
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6142f3; /* rgb */ color: rgb(97, 66, 243); /* oklch */ color: oklch(53.1% 0.247 282.0);
Tailwind
colors: {
custom: {
50: '#9e7af8',
500: '#6142f3',
950: '#000000',
},
}SCSS
$custom: #6142f3; $custom-light: #9e7af8; $custom-dark: #000000;
JSON
{
"hex": "#6142f3",
"rgb": {
"r": 97,
"g": 66,
"b": 243
},
"hsl": {
"h": 250.508,
"s": 88.06,
"l": 60.588
},
"oklch": {
"l": 0.53135,
"c": 0.2471,
"h": 282
},
"luminance": 0.12909
}Semantic roles & 50–950 ramp
primary
#6142F3
secondary
#DEEAA7
accent
#E501BD
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100917
muted
#7F7B85