#7256BB#7256BB
#7256BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.2% C 0.153 H 293.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7256BB |
|---|---|
| RGB | rgb(114, 86, 187) |
| HSL | hsl(257, 43%, 54%) |
| HSV | hsv(257, 54%, 73%) |
| CMYK | cmyk(39%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(43.97, 35.04, -49.50) |
| CIE-LCH | lch(43.97, 60.65, 305.29°) |
| OKLab | oklab(53.15% 0.0604 -0.1404) |
| OKLCH | oklch(53.15% 0.153 293.3) |
| XYZ | xyz(19.2345, 13.8204, 48.6583) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 3.75
Iris
#6258C4
ΔE00 3.86
Royal Purple
#7851A9
ΔE00 4.09
Dark Periwinkle
#665FD1
ΔE00 5.43
Bluey Purple
#6241C7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7256BB #9FBB56
analogous
#566CBB #7256BB #A456BB
triadic
#7256BB #BB7256 #56BB72
tetradic
#7256BB #BB566C #9FBB56 #56BBA4
square
#7256BB #BB566C #9FBB56 #56BBA4
split-complementary
#7256BB #BBA456 #6CBB56
monochromatic
#3D2B6B #563D97 #7256BB #9682CD #BBADDE
Accessibility & contrast
On white
5.58
#7256BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#7256BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7256BB
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7256BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7256BB | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#5F6B80
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7256bb; /* rgb */ color: rgb(114, 86, 187); /* oklch */ color: oklch(53.2% 0.153 293.3);
Tailwind
colors: {
custom: {
50: '#9f86d0',
500: '#7256bb',
950: '#000000',
},
}SCSS
$custom: #7256bb; $custom-light: #9f86d0; $custom-dark: #000000;
JSON
{
"hex": "#7256bb",
"rgb": {
"r": 114,
"g": 86,
"b": 187
},
"hsl": {
"h": 256.634,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.53153,
"c": 0.15289,
"h": 293.3
},
"luminance": 0.13821
}Semantic roles & 50–950 ramp
primary
#7256BB
secondary
#C0CCA1
accent
#D255B0
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82