#9245CF#9245CF
#9245CF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.206 H 306.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9245CF |
|---|---|
| RGB | rgb(146, 69, 207) |
| HSL | hsl(273, 59%, 54%) |
| HSV | hsv(273, 67%, 81%) |
| CMYK | cmyk(29.5%, 66.7%, 0%, 18.8%) |
| CIE-LAB | lab(45.46, 56.48, -58.51) |
| CIE-LCH | lch(45.46, 81.33, 313.99°) |
| OKLab | oklab(55.46% 0.1223 -0.1659) |
| OKLCH | oklch(55.46% 0.206 306.4) |
| XYZ | xyz(25.2422, 14.8725, 60.5603) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.33
Blueviolet
#8A2BE2
ΔE00 5.20
Purply
#983FB2
ΔE00 5.34
Purpley
#8756E4
ΔE00 5.65
Lightish Purple
#A552E6
ΔE00 6.12
Violet (survey)
#9A0EEA
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9245CF #82CF45
analogous
#4D45CF #9245CF #CF45C7
triadic
#9245CF #CF9245 #45CF92
tetradic
#9245CF #CF4D45 #82CF45 #45C7CF
square
#9245CF #CF4D45 #82CF45 #45C7CF
split-complementary
#9245CF #C7CF45 #45CF4D
monochromatic
#52207A #732CAB #9245CF #AF76DC #CBA6E8
Accessibility & contrast
On white
5.28
#9245CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#9245CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9245CF
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9245CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9245CF | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#206CCC
Tritanopia (blue-blind)
#886384
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9245cf; /* rgb */ color: rgb(146, 69, 207); /* oklch */ color: oklch(55.5% 0.206 306.4);
Tailwind
colors: {
custom: {
50: '#b67ede',
500: '#9245cf',
950: '#000000',
},
}SCSS
$custom: #9245cf; $custom-light: #b67ede; $custom-dark: #000000;
JSON
{
"hex": "#9245cf",
"rgb": {
"r": 146,
"g": 69,
"b": 207
},
"hsl": {
"h": 273.478,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.55457,
"c": 0.20605,
"h": 306.4
},
"luminance": 0.14872
}Semantic roles & 50–950 ramp
primary
#9245CF
secondary
#B4D59B
accent
#E2468B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83