#7150AF#7150AF
#7150AF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.2% C 0.146 H 297.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7150AF |
|---|---|
| RGB | rgb(113, 80, 175) |
| HSL | hsl(261, 37%, 50%) |
| HSV | hsv(261, 54%, 69%) |
| CMYK | cmyk(35.4%, 54.3%, 0%, 31.4%) |
| CIE-LAB | lab(41.76, 35.04, -46.03) |
| CIE-LCH | lch(41.76, 57.84, 307.28°) |
| OKLab | oklab(51.25% 0.0663 -0.1303) |
| OKLCH | oklch(51.25% 0.146 297) |
| XYZ | xyz(17.4146, 12.3429, 42.0141) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.21
Iris
#6258C4
ΔE00 5.74
Slate Blue
#6A5ACD
ΔE00 6.17
Light Indigo
#6D5ACF
ΔE00 6.20
Bluey Purple
#6241C7
ΔE00 6.36
Deep Lavender
#8D5EB7
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7150AF #8EAF50
analogous
#505FAF #7150AF #A050AF
triadic
#7150AF #AF7150 #50AF71
tetradic
#7150AF #AF505F #8EAF50 #50AFA0
square
#7150AF #AF505F #8EAF50 #50AFA0
split-complementary
#7150AF #AFA050 #5FAF50
monochromatic
#3B2A5B #563D85 #7150AF #937AC2 #B5A4D5
Accessibility & contrast
On white
6.05
#7150AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#7150AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7150AF
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7150AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7150AF | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#3261AD
Tritanopia (blue-blind)
#636378
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7150af; /* rgb */ color: rgb(113, 80, 175); /* oklch */ color: oklch(51.2% 0.146 297.0);
Tailwind
colors: {
custom: {
50: '#9d82c7',
500: '#7150af',
950: '#000000',
},
}SCSS
$custom: #7150af; $custom-light: #9d82c7; $custom-dark: #000000;
JSON
{
"hex": "#7150af",
"rgb": {
"r": 113,
"g": 80,
"b": 175
},
"hsl": {
"h": 260.842,
"s": 37.255,
"l": 50
},
"oklch": {
"l": 0.51248,
"c": 0.14616,
"h": 297
},
"luminance": 0.12343
}Semantic roles & 50–950 ramp
primary
#7150AF
secondary
#B4C398
accent
#CD5BA5
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0A13
muted
#7E7C82