#8A5CCF#8A5CCF
#8A5CCF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.172 H 299.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5CCF |
|---|---|
| RGB | rgb(138, 92, 207) |
| HSL | hsl(264, 55%, 59%) |
| HSV | hsv(264, 56%, 81%) |
| CMYK | cmyk(33.3%, 55.6%, 0%, 18.8%) |
| CIE-LAB | lab(48.96, 42.76, -52.93) |
| CIE-LCH | lch(48.96, 68.05, 308.94°) |
| OKLab | oklab(57.8% 0.0845 -0.1498) |
| OKLCH | oklch(57.8% 0.172 299.4) |
| XYZ | xyz(25.5681, 17.5623, 61.0622) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.55
Deep Lavender
#8D5EB7
ΔE00 4.60
Amethyst
#9B5FC0
ΔE00 5.21
Lightish Purple
#A552E6
ΔE00 5.68
Light Indigo
#6D5ACF
ΔE00 5.77
Mediumpurple
#9370DB
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5CCF #A1CF5C
analogous
#5C67CF #8A5CCF #C35CCF
triadic
#8A5CCF #CF8A5C #5CCF8A
tetradic
#8A5CCF #CF5C67 #A1CF5C #5CCFC3
square
#8A5CCF #CF5C67 #A1CF5C #5CCFC3
split-complementary
#8A5CCF #CFC35C #67CF5C
monochromatic
#4F2888 #6A36B8 #8A5CCF #AC8BDD #CEBBEB
Accessibility & contrast
On white
4.65
#8A5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#8A5CCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5CCF
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5CCF | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#7B738D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a5ccf; /* rgb */ color: rgb(138, 92, 207); /* oklch */ color: oklch(57.8% 0.172 299.4);
Tailwind
colors: {
custom: {
50: '#b08cde',
500: '#8a5ccf',
950: '#000000',
},
}SCSS
$custom: #8a5ccf; $custom-light: #b08cde; $custom-dark: #000000;
JSON
{
"hex": "#8a5ccf",
"rgb": {
"r": 138,
"g": 92,
"b": 207
},
"hsl": {
"h": 264,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.57798,
"c": 0.17199,
"h": 299.4
},
"luminance": 0.17563
}Semantic roles & 50–950 ramp
primary
#8A5CCF
secondary
#C8DAAD
accent
#DE4AA3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83