#7F67CD#7F67CD
#7F67CD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.5% C 0.152 H 291.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7F67CD |
|---|---|
| RGB | rgb(127, 103, 205) |
| HSL | hsl(254, 50%, 60%) |
| HSV | hsv(254, 50%, 80%) |
| CMYK | cmyk(38%, 49.8%, 0%, 19.6%) |
| CIE-LAB | lab(50.24, 33.21, -49.80) |
| CIE-LCH | lch(50.24, 59.86, 303.70°) |
| OKLab | oklab(58.46% 0.0565 -0.1409) |
| OKLCH | oklch(58.46% 0.152 291.9) |
| XYZ | xyz(24.6191, 18.6197, 60.0426) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.98
Mediumslateblue
#7B68EE
ΔE00 5.13
Light Indigo
#6D5ACF
ΔE00 5.23
Dark Periwinkle
#665FD1
ΔE00 5.46
Slate Blue
#6A5ACD
ΔE00 5.59
Purpley
#8756E4
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F67CD #B5CD67
analogous
#6782CD #7F67CD #B267CD
triadic
#7F67CD #CD7F67 #67CD7F
tetradic
#7F67CD #CD6782 #B5CD67 #67CDB2
square
#7F67CD #CD6782 #B5CD67 #67CDB2
split-complementary
#7F67CD #CDB267 #82CD67
monochromatic
#442E8C #5A3DBA #7F67CD #A695DC #CDC3EB
Accessibility & contrast
On white
4.45
#7F67CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#7F67CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F67CD
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F67CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F67CD | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F79D1
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#6B7B90
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7f67cd; /* rgb */ color: rgb(127, 103, 205); /* oklch */ color: oklch(58.5% 0.152 291.9);
Tailwind
colors: {
custom: {
50: '#a893dd',
500: '#7f67cd',
950: '#000000',
},
}SCSS
$custom: #7f67cd; $custom-light: #a893dd; $custom-dark: #000000;
JSON
{
"hex": "#7f67cd",
"rgb": {
"r": 127,
"g": 103,
"b": 205
},
"hsl": {
"h": 254.118,
"s": 50.495,
"l": 60.392
},
"oklch": {
"l": 0.58455,
"c": 0.15183,
"h": 291.9
},
"luminance": 0.1862
}Semantic roles & 50–950 ramp
primary
#7F67CD
secondary
#D2DBB4
accent
#BE289B
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83