#9C7BF7#9C7BF7
#9C7BF7 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.0% C 0.178 H 293.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9C7BF7 |
|---|---|
| RGB | rgb(156, 123, 247) |
| HSL | hsl(256, 89%, 73%) |
| HSV | hsv(256, 50%, 97%) |
| CMYK | cmyk(36.8%, 50.2%, 0%, 3.1%) |
| CIE-LAB | lab(59.84, 40.07, -57.90) |
| CIE-LCH | lch(59.84, 70.41, 304.68°) |
| OKLab | oklab(67.02% 0.0704 -0.1638) |
| OKLCH | oklch(67.02% 0.178 293.3) |
| XYZ | xyz(37.5773, 27.9484, 91.3924) |
| Luminance | 0.2795 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.92
Mediumpurple
#9370DB
ΔE00 5.16
Light Urple
#B36FF6
ΔE00 5.45
Lavender Blue
#8B88F8
ΔE00 5.65
Perrywinkle
#8F8CE7
ΔE00 6.67
Light Purple
#BF77F6
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C7BF7 #D6F77B
analogous
#7B98F7 #9C7BF7 #DA7BF7
triadic
#9C7BF7 #F79C7B #7BF79C
tetradic
#9C7BF7 #F77B98 #D6F77B #7BF7DA
square
#9C7BF7 #F77B98 #D6F77B #7BF7DA
split-complementary
#9C7BF7 #F7DA7B #98F77B
monochromatic
#490EE9 #7141F4 #9C7BF7 #C7B5FA #E9E2FD
Accessibility & contrast
On white
3.19
#9C7BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#9C7BF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C7BF7
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C7BF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C7BF7 | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A92FB
Deuteranopia (green-blind)
#508EF4
Tritanopia (blue-blind)
#8594AE
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9c7bf7; /* rgb */ color: rgb(156, 123, 247); /* oklch */ color: oklch(67.0% 0.178 293.3);
Tailwind
colors: {
custom: {
50: '#bda2fa',
500: '#9c7bf7',
950: '#000000',
},
}SCSS
$custom: #9c7bf7; $custom-light: #bda2fa; $custom-dark: #000000;
JSON
{
"hex": "#9c7bf7",
"rgb": {
"r": 156,
"g": 123,
"b": 247
},
"hsl": {
"h": 255.968,
"s": 88.571,
"l": 72.549
},
"oklch": {
"l": 0.67022,
"c": 0.17832,
"h": 293.3
},
"luminance": 0.27949
}Semantic roles & 50–950 ramp
primary
#9C7BF7
secondary
#EDF5D6
accent
#E500A8
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F17
muted
#817F85