#7255CF#7255CF
#7255CF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.4% C 0.180 H 290.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7255CF |
|---|---|
| RGB | rgb(114, 85, 207) |
| HSL | hsl(254, 56%, 57%) |
| HSV | hsv(254, 59%, 81%) |
| CMYK | cmyk(44.9%, 58.9%, 0%, 18.8%) |
| CIE-LAB | lab(45.05, 41.25, -59.35) |
| CIE-LCH | lch(45.05, 72.27, 304.80°) |
| OKLab | oklab(54.36% 0.0617 -0.1694) |
| OKLCH | oklch(54.36% 0.18 290) |
| XYZ | xyz(21.4472, 14.5786, 60.7033) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.81
Slate Blue
#6A5ACD
ΔE00 2.20
Iris
#6258C4
ΔE00 3.53
Dark Periwinkle
#665FD1
ΔE00 4.01
Purpley
#8756E4
ΔE00 4.71
Bluey Purple
#6241C7
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7255CF #B2CF55
analogous
#5575CF #7255CF #AF55CF
triadic
#7255CF #CF7255 #55CF72
tetradic
#7255CF #CF5575 #B2CF55 #55CFAF
square
#7255CF #CF5575 #B2CF55 #55CFAF
split-complementary
#7255CF #CFAF55 #75CF55
monochromatic
#3C2584 #5233B4 #7255CF #9A85DC #C1B4EA
Accessibility & contrast
On white
5.36
#7255CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#7255CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7255CF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7255CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7255CF | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#56708A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7255cf; /* rgb */ color: rgb(114, 85, 207); /* oklch */ color: oklch(54.4% 0.180 290.0);
Tailwind
colors: {
custom: {
50: '#a186de',
500: '#7255cf',
950: '#000000',
},
}SCSS
$custom: #7255cf; $custom-light: #a186de; $custom-dark: #000000;
JSON
{
"hex": "#7255cf",
"rgb": {
"r": 114,
"g": 85,
"b": 207
},
"hsl": {
"h": 254.262,
"s": 55.963,
"l": 57.255
},
"oklch": {
"l": 0.54363,
"c": 0.18027,
"h": 290
},
"luminance": 0.14579
}Semantic roles & 50–950 ramp
primary
#7255CF
secondary
#CDD9A7
accent
#DF49BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83