#7256CF#7256CF
#7256CF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.5% C 0.179 H 289.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7256CF |
|---|---|
| RGB | rgb(114, 86, 207) |
| HSL | hsl(254, 56%, 57%) |
| HSV | hsv(254, 58%, 81%) |
| CMYK | cmyk(44.9%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(45.27, 40.67, -58.99) |
| CIE-LCH | lch(45.27, 71.65, 304.59°) |
| OKLab | oklab(54.53% 0.0606 -0.1683) |
| OKLCH | oklch(54.53% 0.179 289.8) |
| XYZ | xyz(21.5265, 14.7372, 60.7297) |
| Luminance | 0.1474 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.58
Slate Blue
#6A5ACD
ΔE00 2.01
Iris
#6258C4
ΔE00 3.44
Dark Periwinkle
#665FD1
ΔE00 3.78
Purpley
#8756E4
ΔE00 4.68
Bluey Purple
#6241C7
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7256CF #B3CF56
analogous
#5677CF #7256CF #AE56CF
triadic
#7256CF #CF7256 #56CF72
tetradic
#7256CF #CF5677 #B3CF56 #56CFAE
square
#7256CF #CF5677 #B3CF56 #56CFAE
split-complementary
#7256CF #CFAE56 #77CF56
monochromatic
#3C2685 #5133B5 #7256CF #9A86DD #C2B5EA
Accessibility & contrast
On white
5.32
#7256CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7256CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7256CF
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7256CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7256CF | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#56718A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7256cf; /* rgb */ color: rgb(114, 86, 207); /* oklch */ color: oklch(54.5% 0.179 289.8);
Tailwind
colors: {
custom: {
50: '#a187de',
500: '#7256cf',
950: '#000000',
},
}SCSS
$custom: #7256cf; $custom-light: #a187de; $custom-dark: #000000;
JSON
{
"hex": "#7256cf",
"rgb": {
"r": 114,
"g": 86,
"b": 207
},
"hsl": {
"h": 253.884,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.54525,
"c": 0.1789,
"h": 289.8
},
"luminance": 0.14738
}Semantic roles & 50–950 ramp
primary
#7256CF
secondary
#CED9A8
accent
#DF49BC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83