#B174F2#B174F2
#B174F2 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.6% C 0.186 H 304.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B174F2 |
|---|---|
| RGB | rgb(177, 116, 242) |
| HSL | hsl(269, 83%, 70%) |
| HSV | hsv(269, 52%, 95%) |
| CMYK | cmyk(26.9%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(60.11, 47.87, -54.58) |
| CIE-LCH | lch(60.11, 72.60, 311.25°) |
| OKLab | oklab(67.61% 0.1045 -0.1535) |
| OKLCH | oklch(67.61% 0.186 304.2) |
| XYZ | xyz(40.4004, 28.2488, 87.3114) |
| Luminance | 0.2825 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.31
Light Purple
#BF77F6
ΔE00 2.65
Easter Purple
#C071FE
ΔE00 2.81
Bright Lavender
#C760FF
ΔE00 5.18
Bright Lilac
#C95EFB
ΔE00 5.60
Mediumpurple
#9370DB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B174F2 #B5F274
analogous
#7476F2 #B174F2 #F074F2
triadic
#B174F2 #F2B174 #74F2B1
tetradic
#B174F2 #F27476 #B5F274 #74F2F0
square
#B174F2 #F27476 #B5F274 #74F2F0
split-complementary
#B174F2 #F2F074 #76F274
monochromatic
#7314D7 #923CED #B174F2 #D0ACF7 #EFE3FC
Accessibility & contrast
On white
3.16
#B174F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#B174F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B174F2
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B174F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B174F2 | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#A68BA8
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b174f2; /* rgb */ color: rgb(177, 116, 242); /* oklch */ color: oklch(67.6% 0.186 304.2);
Tailwind
colors: {
custom: {
50: '#cb9ef7',
500: '#b174f2',
950: '#000000',
},
}SCSS
$custom: #b174f2; $custom-light: #cb9ef7; $custom-dark: #000000;
JSON
{
"hex": "#b174f2",
"rgb": {
"r": 177,
"g": 116,
"b": 242
},
"hsl": {
"h": 269.048,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.67612,
"c": 0.18574,
"h": 304.2
},
"luminance": 0.28249
}Semantic roles & 50–950 ramp
primary
#B174F2
secondary
#E1F2CF
accent
#DF0676
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85