#7F65CD#7F65CD
#7F65CD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.1% C 0.155 H 292.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F65CD |
|---|---|
| RGB | rgb(127, 101, 205) |
| HSL | hsl(255, 51%, 60%) |
| HSV | hsv(255, 51%, 80%) |
| CMYK | cmyk(38%, 50.7%, 0%, 19.6%) |
| CIE-LAB | lab(49.77, 34.38, -50.55) |
| CIE-LCH | lch(49.77, 61.14, 304.22°) |
| OKLab | oklab(58.1% 0.0591 -0.1431) |
| OKLCH | oklch(58.1% 0.155 292.4) |
| XYZ | xyz(24.4226, 18.2266, 59.9771) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.79
Slate Blue
#6A5ACD
ΔE00 5.18
Mediumslateblue
#7B68EE
ΔE00 5.23
Dark Periwinkle
#665FD1
ΔE00 5.25
Mediumpurple
#9370DB
ΔE00 5.32
Purpley
#8756E4
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F65CD #B3CD65
analogous
#657FCD #7F65CD #B365CD
triadic
#7F65CD #CD7F65 #65CD7F
tetradic
#7F65CD #CD657F #B3CD65 #65CDB3
square
#7F65CD #CD657F #B3CD65 #65CDB3
split-complementary
#7F65CD #CDB365 #7FCD65
monochromatic
#442D8B #5B3CB9 #7F65CD #A593DC #CCC1EB
Accessibility & contrast
On white
4.52
#7F65CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7F65CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F65CD
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F65CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F65CD | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B78D1
Deuteranopia (green-blind)
#4074CB
Tritanopia (blue-blind)
#6B7A8F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f65cd; /* rgb */ color: rgb(127, 101, 205); /* oklch */ color: oklch(58.1% 0.155 292.4);
Tailwind
colors: {
custom: {
50: '#a891dd',
500: '#7f65cd',
950: '#000000',
},
}SCSS
$custom: #7f65cd; $custom-light: #a891dd; $custom-dark: #000000;
JSON
{
"hex": "#7f65cd",
"rgb": {
"r": 127,
"g": 101,
"b": 205
},
"hsl": {
"h": 255,
"s": 50.98,
"l": 60
},
"oklch": {
"l": 0.58104,
"c": 0.15483,
"h": 292.4
},
"luminance": 0.18227
}Semantic roles & 50–950 ramp
primary
#7F65CD
secondary
#D1DBB3
accent
#DA4DB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83