#8266CB#8266CB
#8266CB is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.4% C 0.151 H 294.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8266CB |
|---|---|
| RGB | rgb(130, 102, 203) |
| HSL | hsl(257, 49%, 60%) |
| HSV | hsv(257, 50%, 80%) |
| CMYK | cmyk(36%, 49.8%, 0%, 20.4%) |
| CIE-LAB | lab(50.17, 34.01, -48.75) |
| CIE-LCH | lch(50.17, 59.45, 304.90°) |
| OKLab | oklab(58.43% 0.0614 -0.1378) |
| OKLCH | oklch(58.43% 0.151 294) |
| XYZ | xyz(24.7340, 18.5599, 58.7676) |
| Luminance | 0.1856 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.84
Deep Lavender
#8D5EB7
ΔE00 5.51
Light Indigo
#6D5ACF
ΔE00 5.54
Purpley
#8756E4
ΔE00 5.68
Mediumslateblue
#7B68EE
ΔE00 5.72
Slate Blue
#6A5ACD
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8266CB #AFCB66
analogous
#667CCB #8266CB #B566CB
triadic
#8266CB #CB8266 #66CB82
tetradic
#8266CB #CB667C #AFCB66 #66CBB5
square
#8266CB #CB667C #AFCB66 #66CBB5
split-complementary
#8266CB #CBB566 #7CCB66
monochromatic
#472E88 #5F3EB6 #8266CB #A794DB #CDC1EA
Accessibility & contrast
On white
4.46
#8266CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#8266CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8266CB
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8266CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8266CB | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#707A8F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8266cb; /* rgb */ color: rgb(130, 102, 203); /* oklch */ color: oklch(58.4% 0.151 294.0);
Tailwind
colors: {
custom: {
50: '#aa92db',
500: '#8266cb',
950: '#000000',
},
}SCSS
$custom: #8266cb; $custom-light: #aa92db; $custom-dark: #000000;
JSON
{
"hex": "#8266cb",
"rgb": {
"r": 130,
"g": 102,
"b": 203
},
"hsl": {
"h": 256.634,
"s": 49.268,
"l": 59.804
},
"oklch": {
"l": 0.58431,
"c": 0.15082,
"h": 294
},
"luminance": 0.1856
}Semantic roles & 50–950 ramp
primary
#8266CB
secondary
#CFDAB3
accent
#D94FB3
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83