#8262CF#8262CF
#8262CF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.0% C 0.162 H 294.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8262CF |
|---|---|
| RGB | rgb(130, 98, 207) |
| HSL | hsl(258, 53%, 60%) |
| HSV | hsv(258, 53%, 81%) |
| CMYK | cmyk(37.2%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(49.48, 37.41, -52.14) |
| CIE-LCH | lch(49.48, 64.18, 305.66°) |
| OKLab | oklab(57.99% 0.0668 -0.1477) |
| OKLCH | oklch(57.99% 0.162 294.3) |
| XYZ | xyz(24.8332, 17.9857, 61.1826) |
| Luminance | 0.1799 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.34
Light Indigo
#6D5ACF
ΔE00 4.70
Slate Blue
#6A5ACD
ΔE00 5.18
Mediumslateblue
#7B68EE
ΔE00 5.41
Mediumpurple
#9370DB
ΔE00 5.47
Dark Periwinkle
#665FD1
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8262CF #AFCF62
analogous
#6278CF #8262CF #B962CF
triadic
#8262CF #CF8262 #62CF82
tetradic
#8262CF #CF6278 #AFCF62 #62CFB9
square
#8262CF #CF6278 #AFCF62 #62CFB9
split-complementary
#8262CF #CFB962 #78CF62
monochromatic
#472B8C #5F39BB #8262CF #A791DD #CDC0EC
Accessibility & contrast
On white
4.57
#8262CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#8262CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8262CF
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8262CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8262CF | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3477D3
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#6F788F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8262cf; /* rgb */ color: rgb(130, 98, 207); /* oklch */ color: oklch(58.0% 0.162 294.3);
Tailwind
colors: {
custom: {
50: '#aa8fde',
500: '#8262cf',
950: '#000000',
},
}SCSS
$custom: #8262cf; $custom-light: #aa8fde; $custom-dark: #000000;
JSON
{
"hex": "#8262cf",
"rgb": {
"r": 130,
"g": 98,
"b": 207
},
"hsl": {
"h": 257.615,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.57993,
"c": 0.1621,
"h": 294.3
},
"luminance": 0.17986
}Semantic roles & 50–950 ramp
primary
#8262CF
secondary
#CFDBB1
accent
#DD4BB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83