#925FB5#925FB5
#925FB5 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.6% C 0.138 H 310.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #925FB5 |
|---|---|
| RGB | rgb(146, 95, 181) |
| HSL | hsl(276, 37%, 54%) |
| HSV | hsv(276, 48%, 71%) |
| CMYK | cmyk(19.3%, 47.5%, 0%, 29%) |
| CIE-LAB | lab(49.05, 36.90, -37.74) |
| CIE-LCH | lch(49.05, 52.78, 314.36°) |
| OKLab | oklab(57.59% 0.0886 -0.1052) |
| OKLCH | oklch(57.59% 0.138 310.1) |
| XYZ | xyz(24.2852, 17.6320, 45.8311) |
| Luminance | 0.1763 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.40
Amethyst
#9B5FC0
ΔE00 2.41
Deep Lilac
#966EBD
ΔE00 4.76
Royal Purple
#7851A9
ΔE00 6.91
Soft Purple
#A66FB5
ΔE00 7.04
Dark Lilac
#9C6DA5
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#925FB5 #82B55F
analogous
#675FB5 #925FB5 #B55FAD
triadic
#925FB5 #B5925F #5FB592
tetradic
#925FB5 #B5675F #82B55F #5FADB5
square
#925FB5 #B5675F #82B55F #5FADB5
split-complementary
#925FB5 #ADB55F #5FB567
monochromatic
#523169 #734493 #925FB5 #AF89C8 #CBB3DC
Accessibility & contrast
On white
4.64
#925FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#925FB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #925FB5
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##925FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##925FB5 | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#5875B3
Tritanopia (blue-blind)
#8E6D81
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #925fb5; /* rgb */ color: rgb(146, 95, 181); /* oklch */ color: oklch(57.6% 0.138 310.1);
Tailwind
colors: {
custom: {
50: '#b48ecb',
500: '#925fb5',
950: '#000000',
},
}SCSS
$custom: #925fb5; $custom-light: #b48ecb; $custom-dark: #000000;
JSON
{
"hex": "#925fb5",
"rgb": {
"r": 146,
"g": 95,
"b": 181
},
"hsl": {
"h": 275.581,
"s": 36.752,
"l": 54.118
},
"oklch": {
"l": 0.57593,
"c": 0.13751,
"h": 310.1
},
"luminance": 0.17632
}Semantic roles & 50–950 ramp
primary
#925FB5
secondary
#B4CAA6
accent
#CD5B89
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82