#7955BF#7955BF
#7955BF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.9% C 0.160 H 296.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7955BF |
|---|---|
| RGB | rgb(121, 85, 191) |
| HSL | hsl(260, 45%, 54%) |
| HSV | hsv(260, 55%, 75%) |
| CMYK | cmyk(36.6%, 55.5%, 0%, 25.1%) |
| CIE-LAB | lab(44.69, 38.42, -50.64) |
| CIE-LCH | lch(44.69, 63.56, 307.18°) |
| OKLab | oklab(53.93% 0.0709 -0.1436) |
| OKLCH | oklch(53.93% 0.16 296.3) |
| XYZ | xyz(20.5352, 14.3232, 50.9629) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.37
Iris
#6258C4
ΔE00 5.00
Deep Lavender
#8D5EB7
ΔE00 5.73
Purpley
#8756E4
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7955BF #9BBF55
analogous
#5566BF #7955BF #AE55BF
triadic
#7955BF #BF7955 #55BF79
tetradic
#7955BF #BF5566 #9BBF55 #55BFAE
square
#7955BF #BF5566 #9BBF55 #55BFAE
split-complementary
#7955BF #BFAE55 #66BF55
monochromatic
#422A70 #5C3B9C #7955BF #9C81D0 #BFAEE0
Accessibility & contrast
On white
5.43
#7955BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#7955BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7955BF
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7955BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7955BF | 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)
#246AC3
Deuteranopia (green-blind)
#3068BD
Tritanopia (blue-blind)
#696B82
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7955bf; /* rgb */ color: rgb(121, 85, 191); /* oklch */ color: oklch(53.9% 0.160 296.3);
Tailwind
colors: {
custom: {
50: '#a486d3',
500: '#7955bf',
950: '#000000',
},
}SCSS
$custom: #7955bf; $custom-light: #a486d3; $custom-dark: #000000;
JSON
{
"hex": "#7955bf",
"rgb": {
"r": 121,
"g": 85,
"b": 191
},
"hsl": {
"h": 260.377,
"s": 45.299,
"l": 54.118
},
"oklch": {
"l": 0.53928,
"c": 0.16014,
"h": 296.3
},
"luminance": 0.14324
}Semantic roles & 50–950 ramp
primary
#7955BF
secondary
#BFCEA1
accent
#D553A9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83