#7256CE#7256CE
#7256CE is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.5% C 0.178 H 290.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7256CE |
|---|---|
| RGB | rgb(114, 86, 206) |
| HSL | hsl(254, 55%, 57%) |
| HSV | hsv(254, 58%, 81%) |
| CMYK | cmyk(44.7%, 58.3%, 0%, 19.2%) |
| CIE-LAB | lab(45.20, 40.39, -58.52) |
| CIE-LCH | lch(45.20, 71.11, 304.61°) |
| OKLab | oklab(54.45% 0.0606 -0.1669) |
| OKLCH | oklch(54.45% 0.178 290) |
| XYZ | xyz(21.4047, 14.6885, 60.0879) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.60
Slate Blue
#6A5ACD
ΔE00 2.01
Iris
#6258C4
ΔE00 3.39
Dark Periwinkle
#665FD1
ΔE00 3.82
Purpley
#8756E4
ΔE00 4.77
Bluey Purple
#6241C7
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7256CE #B2CE56
analogous
#5676CE #7256CE #AE56CE
triadic
#7256CE #CE7256 #56CE72
tetradic
#7256CE #CE5676 #B2CE56 #56CEAE
square
#7256CE #CE5676 #B2CE56 #56CEAE
split-complementary
#7256CE #CEAE56 #76CE56
monochromatic
#3C2683 #5234B3 #7256CE #9A85DC #C1B5EA
Accessibility & contrast
On white
5.33
#7256CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#7256CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7256CE
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7256CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7256CE | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#0468CB
Tritanopia (blue-blind)
#56718A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7256ce; /* rgb */ color: rgb(114, 86, 206); /* oklch */ color: oklch(54.5% 0.178 290.0);
Tailwind
colors: {
custom: {
50: '#a187de',
500: '#7256ce',
950: '#000000',
},
}SCSS
$custom: #7256ce; $custom-light: #a187de; $custom-dark: #000000;
JSON
{
"hex": "#7256ce",
"rgb": {
"r": 114,
"g": 86,
"b": 206
},
"hsl": {
"h": 254,
"s": 55.046,
"l": 57.255
},
"oklch": {
"l": 0.54454,
"c": 0.17762,
"h": 290
},
"luminance": 0.14689
}Semantic roles & 50–950 ramp
primary
#7256CE
secondary
#CDD8A8
accent
#DE49BC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83