#9145CF#9145CF
#9145CF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.206 H 306.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9145CF |
|---|---|
| RGB | rgb(145, 69, 207) |
| HSL | hsl(273, 59%, 54%) |
| HSV | hsv(273, 67%, 81%) |
| CMYK | cmyk(30%, 66.7%, 0%, 18.8%) |
| CIE-LAB | lab(45.33, 56.27, -58.72) |
| CIE-LCH | lch(45.33, 81.33, 313.78°) |
| OKLab | oklab(55.34% 0.1209 -0.1665) |
| OKLCH | oklch(55.34% 0.206 306) |
| XYZ | xyz(25.0652, 14.7812, 60.5520) |
| Luminance | 0.1478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.36
Blueviolet
#8A2BE2
ΔE00 5.10
Purply
#983FB2
ΔE00 5.42
Purpley
#8756E4
ΔE00 5.60
Violet (survey)
#9A0EEA
ΔE00 6.15
Lightish Purple
#A552E6
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9145CF #83CF45
analogous
#4C45CF #9145CF #CF45C8
triadic
#9145CF #CF9145 #45CF91
tetradic
#9145CF #CF4C45 #83CF45 #45C8CF
square
#9145CF #CF4C45 #83CF45 #45C8CF
split-complementary
#9145CF #C8CF45 #45CF4C
monochromatic
#51207A #722CAB #9145CF #AE76DC #CBA6E8
Accessibility & contrast
On white
5.31
#9145CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9145CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9145CF
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9145CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9145CF | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#1E6CCC
Tritanopia (blue-blind)
#866384
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9145cf; /* rgb */ color: rgb(145, 69, 207); /* oklch */ color: oklch(55.3% 0.206 306.0);
Tailwind
colors: {
custom: {
50: '#b67ede',
500: '#9145cf',
950: '#000000',
},
}SCSS
$custom: #9145cf; $custom-light: #b67ede; $custom-dark: #000000;
JSON
{
"hex": "#9145cf",
"rgb": {
"r": 145,
"g": 69,
"b": 207
},
"hsl": {
"h": 273.043,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.55339,
"c": 0.20579,
"h": 306
},
"luminance": 0.14781
}Semantic roles & 50–950 ramp
primary
#9145CF
secondary
#B5D59B
accent
#E2468C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83