#A138AF#A138AF
#A138AF is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.198 H 322.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A138AF |
|---|---|
| RGB | rgb(161, 56, 175) |
| HSL | hsl(293, 52%, 45%) |
| HSV | hsv(293, 68%, 69%) |
| CMYK | cmyk(8%, 68%, 0%, 31.4%) |
| CIE-LAB | lab(43.51, 58.86, -42.87) |
| CIE-LCH | lch(43.51, 72.81, 323.93°) |
| OKLab | oklab(53.85% 0.1573 -0.1195) |
| OKLCH | oklch(53.85% 0.198 322.8) |
| XYZ | xyz(23.8492, 13.5019, 41.8991) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.08
Barney
#AC1DB8
ΔE00 3.09
Medium Purple
#9E43A2
ΔE00 3.13
Ugly Purple
#A442A0
ΔE00 3.94
Darkorchid
#9932CC
ΔE00 5.48
Warm Purple
#952E8F
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A138AF #46AF38
analogous
#6538AF #A138AF #AF3881
triadic
#A138AF #AFA138 #38AFA1
tetradic
#A138AF #AF6538 #46AF38 #3881AF
square
#A138AF #AF6538 #46AF38 #3881AF
split-complementary
#A138AF #81AF38 #38AF65
monochromatic
#4C1A52 #762981 #A138AF #BD5ACA #D088D9
Accessibility & contrast
On white
5.68
#A138AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#A138AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A138AF
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A138AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A138AF | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#496BAC
Tritanopia (blue-blind)
#A34C6F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a138af; /* rgb */ color: rgb(161, 56, 175); /* oklch */ color: oklch(53.9% 0.198 322.8);
Tailwind
colors: {
custom: {
50: '#c077c7',
500: '#a138af',
950: '#000000',
},
}SCSS
$custom: #a138af; $custom-light: #c077c7; $custom-dark: #000000;
JSON
{
"hex": "#a138af",
"rgb": {
"r": 161,
"g": 56,
"b": 175
},
"hsl": {
"h": 292.941,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.53851,
"c": 0.19754,
"h": 322.8
},
"luminance": 0.13501
}Semantic roles & 50–950 ramp
primary
#A138AF
secondary
#88C380
accent
#DB4D5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82