#9278C8#9278C8
#9278C8 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.0% C 0.120 H 297.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9278C8 |
|---|---|
| RGB | rgb(146, 120, 200) |
| HSL | hsl(260, 42%, 63%) |
| HSV | hsv(260, 40%, 78%) |
| CMYK | cmyk(27%, 40%, 0%, 21.6%) |
| CIE-LAB | lab(55.80, 27.10, -38.04) |
| CIE-LCH | lch(55.80, 46.70, 305.47°) |
| OKLab | oklab(62.98% 0.056 -0.1061) |
| OKLCH | oklch(62.98% 0.12 297.8) |
| XYZ | xyz(28.9934, 23.7138, 57.6821) |
| Luminance | 0.2371 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.06
Mediumpurple
#9370DB
ΔE00 4.46
Wisteria
#A87DC2
ΔE00 6.08
Soft Purple
#A66FB5
ΔE00 7.71
Amethyst
#9B5FC0
ΔE00 8.11
Perrywinkle
#8F8CE7
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9278C8 #AEC878
analogous
#7886C8 #9278C8 #BA78C8
triadic
#9278C8 #C89278 #78C892
tetradic
#9278C8 #C87886 #AEC878 #78C8BA
square
#9278C8 #C87886 #AEC878 #78C8BA
split-complementary
#9278C8 #C8BA78 #86C878
monochromatic
#54398C #6F4DB6 #9278C8 #B5A3DA #D8CFEB
Accessibility & contrast
On white
3.66
#9278C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#9278C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9278C8
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9278C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9278C8 | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6286CB
Deuteranopia (green-blind)
#6785C6
Tritanopia (blue-blind)
#878696
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9278c8; /* rgb */ color: rgb(146, 120, 200); /* oklch */ color: oklch(63.0% 0.120 297.8);
Tailwind
colors: {
custom: {
50: '#b49fd9',
500: '#9278c8',
950: '#000000',
},
}SCSS
$custom: #9278c8; $custom-light: #b49fd9; $custom-dark: #000000;
JSON
{
"hex": "#9278c8",
"rgb": {
"r": 146,
"g": 120,
"b": 200
},
"hsl": {
"h": 259.5,
"s": 42.105,
"l": 62.745
},
"oklch": {
"l": 0.62976,
"c": 0.12003,
"h": 297.8
},
"luminance": 0.23714
}Semantic roles & 50–950 ramp
primary
#9278C8
secondary
#D3DCBF
accent
#B5308A
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83