#904FCF#904FCF
#904FCF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.192 H 304.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #904FCF |
|---|---|
| RGB | rgb(144, 79, 207) |
| HSL | hsl(270, 57%, 56%) |
| HSV | hsv(270, 62%, 81%) |
| CMYK | cmyk(30.4%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(47.01, 51.13, -56.03) |
| CIE-LCH | lch(47.01, 75.85, 312.38°) |
| OKLab | oklab(56.52% 0.1083 -0.1587) |
| OKLCH | oklch(56.52% 0.192 304.3) |
| XYZ | xyz(25.5576, 16.0263, 60.7664) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.24
Lightish Purple
#A552E6
ΔE00 5.10
Darkorchid
#9932CC
ΔE00 5.45
Deep Lavender
#8D5EB7
ΔE00 5.69
Amethyst
#9B5FC0
ΔE00 5.95
Purply
#983FB2
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904FCF #8ECF4F
analogous
#504FCF #904FCF #CF4FCE
triadic
#904FCF #CF904F #4FCF90
tetradic
#904FCF #CF504F #8ECF4F #4FCECF
square
#904FCF #CF504F #8ECF4F #4FCECF
split-complementary
#904FCF #CECF4F #4FCF50
monochromatic
#532381 #7130B1 #904FCF #AE7FDC #CDAFE9
Accessibility & contrast
On white
4.99
#904FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#904FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904FCF
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904FCF | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#2E6FCC
Tritanopia (blue-blind)
#846A88
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #904fcf; /* rgb */ color: rgb(144, 79, 207); /* oklch */ color: oklch(56.5% 0.192 304.3);
Tailwind
colors: {
custom: {
50: '#b584de',
500: '#904fcf',
950: '#000000',
},
}SCSS
$custom: #904fcf; $custom-light: #b584de; $custom-dark: #000000;
JSON
{
"hex": "#904fcf",
"rgb": {
"r": 144,
"g": 79,
"b": 207
},
"hsl": {
"h": 270.469,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.56522,
"c": 0.19207,
"h": 304.3
},
"luminance": 0.16026
}Semantic roles & 50–950 ramp
primary
#904FCF
secondary
#BCD7A2
accent
#E04793
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83