#7251F2#7251F2
#7251F2 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.228 H 285.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7251F2 |
|---|---|
| RGB | rgb(114, 81, 242) |
| HSL | hsl(252, 86%, 63%) |
| HSV | hsv(252, 67%, 95%) |
| CMYK | cmyk(52.9%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(46.81, 53.46, -76.36) |
| CIE-LCH | lch(46.81, 93.22, 305.00°) |
| OKLab | oklab(56.45% 0.0626 -0.2194) |
| OKLCH | oklch(56.45% 0.228 285.9) |
| XYZ | xyz(25.9041, 15.8717, 85.6858) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.11
Purpleish Blue
#6140EF
ΔE00 4.84
Light Indigo
#6D5ACF
ΔE00 5.11
Bluish Purple
#703BE7
ΔE00 5.43
Slate Blue
#6A5ACD
ΔE00 5.50
Dark Periwinkle
#665FD1
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7251F2 #D1F251
analogous
#5180F2 #7251F2 #C251F2
triadic
#7251F2 #F27251 #51F272
tetradic
#7251F2 #F25180 #D1F251 #51F2C2
square
#7251F2 #F25180 #D1F251 #51F2C2
split-complementary
#7251F2 #F2C251 #80F251
monochromatic
#310EBB #4418EE #7251F2 #A08AF6 #CEC3FB
Accessibility & contrast
On white
5.03
#7251F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#7251F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7251F2
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7251F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7251F2 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#3D7A9B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7251f2; /* rgb */ color: rgb(114, 81, 242); /* oklch */ color: oklch(56.4% 0.228 285.9);
Tailwind
colors: {
custom: {
50: '#a584f7',
500: '#7251f2',
950: '#000000',
},
}SCSS
$custom: #7251f2; $custom-light: #a584f7; $custom-dark: #000000;
JSON
{
"hex": "#7251f2",
"rgb": {
"r": 114,
"g": 81,
"b": 242
},
"hsl": {
"h": 252.298,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.56448,
"c": 0.22815,
"h": 285.9
},
"luminance": 0.15873
}Semantic roles & 50–950 ramp
primary
#7251F2
secondary
#E0ECB3
accent
#E303B5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#110B17
muted
#807C85