#905CF2#905CF2
#905CF2 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.215 H 295.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #905CF2 |
|---|---|
| RGB | rgb(144, 92, 242) |
| HSL | hsl(261, 85%, 65%) |
| HSV | hsv(261, 62%, 95%) |
| CMYK | cmyk(40.5%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(51.83, 53.10, -68.06) |
| CIE-LCH | lch(51.83, 86.33, 307.96°) |
| OKLab | oklab(60.76% 0.0914 -0.1941) |
| OKLCH | oklch(60.76% 0.215 295.2) |
| XYZ | xyz(31.3515, 19.9937, 86.1945) |
| Luminance | 0.1999 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.15
Lighter Purple
#A55AF4
ΔE00 3.67
Lightish Purple
#A552E6
ΔE00 4.73
Mediumslateblue
#7B68EE
ΔE00 4.84
Mediumpurple
#9370DB
ΔE00 6.25
Light Indigo
#6D5ACF
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CF2 #BEF25C
analogous
#5C73F2 #905CF2 #DB5CF2
triadic
#905CF2 #F2905C #5CF290
tetradic
#905CF2 #F25C73 #BEF25C #5CF2DB
square
#905CF2 #F25C73 #BEF25C #5CF2DB
split-complementary
#905CF2 #F2DB5C #73F25C
monochromatic
#4E10C4 #6923ED #905CF2 #B795F7 #DDCDFB
Accessibility & contrast
On white
4.20
#905CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#905CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905CF2
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905CF2 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#777E9F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #905cf2; /* rgb */ color: rgb(144, 92, 242); /* oklch */ color: oklch(60.8% 0.215 295.2);
Tailwind
colors: {
custom: {
50: '#b78df7',
500: '#905cf2',
950: '#000000',
},
}SCSS
$custom: #905cf2; $custom-light: #b78df7; $custom-dark: #000000;
JSON
{
"hex": "#905cf2",
"rgb": {
"r": 144,
"g": 92,
"b": 242
},
"hsl": {
"h": 260.8,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.60755,
"c": 0.21451,
"h": 295.2
},
"luminance": 0.19994
}Semantic roles & 50–950 ramp
primary
#905CF2
secondary
#DDEEBC
accent
#E20495
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85