#B173F2#B173F2
#B173F2 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.5% C 0.187 H 304.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B173F2 |
|---|---|
| RGB | rgb(177, 115, 242) |
| HSL | hsl(269, 83%, 70%) |
| HSV | hsv(269, 52%, 95%) |
| CMYK | cmyk(26.9%, 52.5%, 0%, 5.1%) |
| CIE-LAB | lab(59.91, 48.40, -54.91) |
| CIE-LCH | lch(59.91, 73.20, 311.40°) |
| OKLab | oklab(67.46% 0.1058 -0.1545) |
| OKLCH | oklch(67.46% 0.187 304.4) |
| XYZ | xyz(40.2857, 28.0195, 87.2732) |
| Luminance | 0.2802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.10
Light Purple
#BF77F6
ΔE00 2.74
Easter Purple
#C071FE
ΔE00 2.78
Bright Lavender
#C760FF
ΔE00 5.01
Bright Lilac
#C95EFB
ΔE00 5.42
Mediumpurple
#9370DB
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B173F2 #B4F273
analogous
#7375F2 #B173F2 #F073F2
triadic
#B173F2 #F2B173 #73F2B1
tetradic
#B173F2 #F27375 #B4F273 #73F2F0
square
#B173F2 #F27375 #B4F273 #73F2F0
split-complementary
#B173F2 #F2F073 #75F273
monochromatic
#7314D7 #923BED #B173F2 #D0ABF7 #EFE3FC
Accessibility & contrast
On white
3.18
#B173F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#B173F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B173F2
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B173F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B173F2 | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#488FF6
Deuteranopia (green-blind)
#5C90EF
Tritanopia (blue-blind)
#A68BA8
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #b173f2; /* rgb */ color: rgb(177, 115, 242); /* oklch */ color: oklch(67.5% 0.187 304.4);
Tailwind
colors: {
custom: {
50: '#cb9df7',
500: '#b173f2',
950: '#000000',
},
}SCSS
$custom: #b173f2; $custom-light: #cb9df7; $custom-dark: #000000;
JSON
{
"hex": "#b173f2",
"rgb": {
"r": 177,
"g": 115,
"b": 242
},
"hsl": {
"h": 269.291,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.6746,
"c": 0.18726,
"h": 304.4
},
"luminance": 0.28019
}Semantic roles & 50–950 ramp
primary
#B173F2
secondary
#E1F2CF
accent
#DF0675
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85