#7255CB#7255CB
#7255CB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.1% C 0.175 H 290.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7255CB |
|---|---|
| RGB | rgb(114, 85, 203) |
| HSL | hsl(255, 53%, 56%) |
| HSV | hsv(255, 58%, 80%) |
| CMYK | cmyk(43.8%, 58.1%, 0%, 20.4%) |
| CIE-LAB | lab(44.78, 40.11, -57.48) |
| CIE-LCH | lch(44.78, 70.09, 304.91°) |
| OKLab | oklab(54.08% 0.0618 -0.1639) |
| OKLCH | oklch(54.08% 0.175 290.7) |
| XYZ | xyz(20.9644, 14.3855, 58.1604) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.98
Slate Blue
#6A5ACD
ΔE00 2.28
Iris
#6258C4
ΔE00 3.38
Dark Periwinkle
#665FD1
ΔE00 4.18
Purpley
#8756E4
ΔE00 5.08
Bluey Purple
#6241C7
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7255CB #AECB55
analogous
#5573CB #7255CB #AD55CB
triadic
#7255CB #CB7255 #55CB72
tetradic
#7255CB #CB5573 #AECB55 #55CBAD
square
#7255CB #CB5573 #AECB55 #55CBAD
split-complementary
#7255CB #CBAD55 #73CB55
monochromatic
#3C277F #5335AE #7255CB #9984D9 #C0B3E8
Accessibility & contrast
On white
5.42
#7255CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7255CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7255CB
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7255CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7255CB | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0D67C8
Tritanopia (blue-blind)
#586F88
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7255cb; /* rgb */ color: rgb(114, 85, 203); /* oklch */ color: oklch(54.1% 0.175 290.7);
Tailwind
colors: {
custom: {
50: '#a086dc',
500: '#7255cb',
950: '#000000',
},
}SCSS
$custom: #7255cb; $custom-light: #a086dc; $custom-dark: #000000;
JSON
{
"hex": "#7255cb",
"rgb": {
"r": 114,
"g": 85,
"b": 203
},
"hsl": {
"h": 254.746,
"s": 53.153,
"l": 56.471
},
"oklch": {
"l": 0.54078,
"c": 0.17516,
"h": 290.7
},
"luminance": 0.14386
}Semantic roles & 50–950 ramp
primary
#7255CB
secondary
#CAD6A6
accent
#DD4BB9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83