#9255BF#9255BF
#9255BF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.166 H 308.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9255BF |
|---|---|
| RGB | rgb(146, 85, 191) |
| HSL | hsl(275, 45%, 54%) |
| HSV | hsv(275, 55%, 75%) |
| CMYK | cmyk(23.6%, 55.5%, 0%, 25.1%) |
| CIE-LAB | lab(47.46, 44.71, -46.07) |
| CIE-LCH | lch(47.46, 64.20, 314.15°) |
| OKLab | oklab(56.59% 0.1033 -0.1294) |
| OKLCH | oklch(56.59% 0.166 308.6) |
| XYZ | xyz(24.5047, 16.3699, 51.1489) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.98
Amethyst
#9B5FC0
ΔE00 3.55
Purply
#983FB2
ΔE00 5.59
Royal Purple
#7851A9
ΔE00 5.98
Lightish Purple
#A552E6
ΔE00 6.41
Purpley
#8756E4
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9255BF #82BF55
analogous
#5D55BF #9255BF #BF55B7
triadic
#9255BF #BF9255 #55BF92
tetradic
#9255BF #BF5D55 #82BF55 #55B7BF
square
#9255BF #BF5D55 #82BF55 #55B7BF
split-complementary
#9255BF #B7BF55 #55BF5D
monochromatic
#522A70 #733B9C #9255BF #AF81D0 #CBAEE0
Accessibility & contrast
On white
4.91
#9255BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#9255BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9255BF
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9255BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9255BF | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#8C6882
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9255bf; /* rgb */ color: rgb(146, 85, 191); /* oklch */ color: oklch(56.6% 0.166 308.6);
Tailwind
colors: {
custom: {
50: '#b587d3',
500: '#9255bf',
950: '#000000',
},
}SCSS
$custom: #9255bf; $custom-light: #b587d3; $custom-dark: #000000;
JSON
{
"hex": "#9255bf",
"rgb": {
"r": 146,
"g": 85,
"b": 191
},
"hsl": {
"h": 274.528,
"s": 45.299,
"l": 54.118
},
"oklch": {
"l": 0.5659,
"c": 0.16559,
"h": 308.6
},
"luminance": 0.1637
}Semantic roles & 50–950 ramp
primary
#9255BF
secondary
#B4CEA1
accent
#D5538A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83