#9A7BF3#9A7BF3
#9A7BF3 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.6% C 0.173 H 293.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9A7BF3 |
|---|---|
| RGB | rgb(154, 123, 243) |
| HSL | hsl(256, 83%, 72%) |
| HSV | hsv(256, 49%, 95%) |
| CMYK | cmyk(36.6%, 49.4%, 0%, 4.7%) |
| CIE-LAB | lab(59.44, 38.53, -56.34) |
| CIE-LCH | lch(59.44, 68.26, 304.37°) |
| OKLab | oklab(66.61% 0.0677 -0.1593) |
| OKLCH | oklch(66.61% 0.173 293) |
| XYZ | xyz(36.5828, 27.5062, 88.1584) |
| Luminance | 0.2751 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.90
Mediumpurple
#9370DB
ΔE00 4.71
Lavender Blue
#8B88F8
ΔE00 5.52
Light Urple
#B36FF6
ΔE00 5.71
Perrywinkle
#8F8CE7
ΔE00 6.36
Light Purple
#BF77F6
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A7BF3 #D4F37B
analogous
#7B98F3 #9A7BF3 #D67BF3
triadic
#9A7BF3 #F39A7B #7BF39A
tetradic
#9A7BF3 #F37B98 #D4F37B #7BF3D6
square
#9A7BF3 #F37B98 #D4F37B #7BF3D6
split-complementary
#9A7BF3 #F3D67B #98F37B
monochromatic
#4914DF #6F43EE #9A7BF3 #C5B3F8 #EAE3FC
Accessibility & contrast
On white
3.23
#9A7BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#9A7BF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A7BF3
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A7BF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A7BF3 | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D91F7
Deuteranopia (green-blind)
#528DF0
Tritanopia (blue-blind)
#8493AC
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9a7bf3; /* rgb */ color: rgb(154, 123, 243); /* oklch */ color: oklch(66.6% 0.173 293.0);
Tailwind
colors: {
custom: {
50: '#bca2f8',
500: '#9a7bf3',
950: '#000000',
},
}SCSS
$custom: #9a7bf3; $custom-light: #bca2f8; $custom-dark: #000000;
JSON
{
"hex": "#9a7bf3",
"rgb": {
"r": 154,
"g": 123,
"b": 243
},
"hsl": {
"h": 255.5,
"s": 83.333,
"l": 71.765
},
"oklch": {
"l": 0.66607,
"c": 0.17309,
"h": 293
},
"luminance": 0.27507
}Semantic roles & 50–950 ramp
primary
#9A7BF3
secondary
#ECF4D6
accent
#E006A7
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85