#7155CB#7155CB
#7155CB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.175 H 290.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7155CB |
|---|---|
| RGB | rgb(113, 85, 203) |
| HSL | hsl(254, 53%, 56%) |
| HSV | hsv(254, 58%, 80%) |
| CMYK | cmyk(44.3%, 58.1%, 0%, 20.4%) |
| CIE-LAB | lab(44.69, 39.90, -57.64) |
| CIE-LCH | lch(44.69, 70.10, 304.69°) |
| OKLab | oklab(53.99% 0.0605 -0.1644) |
| OKLCH | oklch(53.99% 0.175 290.2) |
| XYZ | xyz(20.8350, 14.3188, 58.1544) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.87
Slate Blue
#6A5ACD
ΔE00 2.15
Iris
#6258C4
ΔE00 3.20
Dark Periwinkle
#665FD1
ΔE00 4.06
Purpley
#8756E4
ΔE00 5.21
Bluey Purple
#6241C7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7155CB #AFCB55
analogous
#5574CB #7155CB #AC55CB
triadic
#7155CB #CB7155 #55CB71
tetradic
#7155CB #CB5574 #AFCB55 #55CBAC
square
#7155CB #CB5574 #AFCB55 #55CBAC
split-complementary
#7155CB #CBAC55 #74CB55
monochromatic
#3C277F #5235AE #7155CB #9884D9 #BFB3E8
Accessibility & contrast
On white
5.43
#7155CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#7155CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7155CB
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7155CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7155CB | 1.00 | 5.43 | 3.86 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0967C8
Tritanopia (blue-blind)
#566F88
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7155cb; /* rgb */ color: rgb(113, 85, 203); /* oklch */ color: oklch(54.0% 0.175 290.2);
Tailwind
colors: {
custom: {
50: '#a086dc',
500: '#7155cb',
950: '#000000',
},
}SCSS
$custom: #7155cb; $custom-light: #a086dc; $custom-dark: #000000;
JSON
{
"hex": "#7155cb",
"rgb": {
"r": 113,
"g": 85,
"b": 203
},
"hsl": {
"h": 254.237,
"s": 53.153,
"l": 56.471
},
"oklch": {
"l": 0.53987,
"c": 0.17517,
"h": 290.2
},
"luminance": 0.1432
}Semantic roles & 50–950 ramp
primary
#7155CB
secondary
#CBD6A6
accent
#DD4BBA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83