#7256CB#7256CB
#7256CB is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.2% C 0.174 H 290.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7256CB |
|---|---|
| RGB | rgb(114, 86, 203) |
| HSL | hsl(254, 53%, 57%) |
| HSV | hsv(254, 58%, 80%) |
| CMYK | cmyk(43.8%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(45.00, 39.54, -57.12) |
| CIE-LCH | lch(45.00, 69.47, 304.69°) |
| OKLab | oklab(54.24% 0.0607 -0.1628) |
| OKLCH | oklch(54.24% 0.174 290.4) |
| XYZ | xyz(21.0437, 14.5441, 58.1868) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.75
Slate Blue
#6A5ACD
ΔE00 2.09
Iris
#6258C4
ΔE00 3.28
Dark Periwinkle
#665FD1
ΔE00 3.95
Purpley
#8756E4
ΔE00 5.06
Bluey Purple
#6241C7
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7256CB #AFCB56
analogous
#5675CB #7256CB #AD56CB
triadic
#7256CB #CB7256 #56CB72
tetradic
#7256CB #CB5675 #AFCB56 #56CBAD
square
#7256CB #CB5675 #AFCB56 #56CBAD
split-complementary
#7256CB #CBAD56 #75CB56
monochromatic
#3C277F #5236AE #7256CB #9985D9 #C0B4E8
Accessibility & contrast
On white
5.37
#7256CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#7256CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7256CB
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7256CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7256CB | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#046DCF
Deuteranopia (green-blind)
#1168C8
Tritanopia (blue-blind)
#587088
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7256cb; /* rgb */ color: rgb(114, 86, 203); /* oklch */ color: oklch(54.2% 0.174 290.4);
Tailwind
colors: {
custom: {
50: '#a086dc',
500: '#7256cb',
950: '#000000',
},
}SCSS
$custom: #7256cb; $custom-light: #a086dc; $custom-dark: #000000;
JSON
{
"hex": "#7256cb",
"rgb": {
"r": 114,
"g": 86,
"b": 203
},
"hsl": {
"h": 254.359,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.54242,
"c": 0.17377,
"h": 290.4
},
"luminance": 0.14545
}Semantic roles & 50–950 ramp
primary
#7256CB
secondary
#CBD6A6
accent
#DC4BBA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83