#7138CA#7138CA
#7138CA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.211 H 295.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7138CA |
|---|---|
| RGB | rgb(113, 56, 202) |
| HSL | hsl(263, 58%, 51%) |
| HSV | hsv(263, 72%, 79%) |
| CMYK | cmyk(44.1%, 72.3%, 0%, 20.8%) |
| CIE-LAB | lab(38.90, 55.09, -66.45) |
| CIE-LCH | lch(38.90, 86.32, 309.66°) |
| OKLab | oklab(49.79% 0.0907 -0.1902) |
| OKLCH | oklch(49.79% 0.211 295.5) |
| XYZ | xyz(18.8820, 10.6029, 56.9174) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.08
Burple
#6832E3
ΔE00 3.51
Bluish Purple
#703BE7
ΔE00 4.02
Blurple
#5539CC
ΔE00 4.31
Purpley Blue
#5F34E7
ΔE00 4.45
Blue With A Hint Of Purple
#533CC6
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7138CA #91CA38
analogous
#3848CA #7138CA #BA38CA
triadic
#7138CA #CA7138 #38CA71
tetradic
#7138CA #CA3848 #91CA38 #38CABA
square
#7138CA #CA3848 #91CA38 #38CABA
split-complementary
#7138CA #CABA38 #48CA38
monochromatic
#3B1D6B #56299B #7138CA #9368D7 #B699E4
Accessibility & contrast
On white
6.73
#7138CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#7138CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7138CA
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7138CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7138CA | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#585E7E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7138ca; /* rgb */ color: rgb(113, 56, 202); /* oklch */ color: oklch(49.8% 0.211 295.5);
Tailwind
colors: {
custom: {
50: '#a174db',
500: '#7138ca',
950: '#000000',
},
}SCSS
$custom: #7138ca; $custom-light: #a174db; $custom-dark: #000000;
JSON
{
"hex": "#7138ca",
"rgb": {
"r": 113,
"g": 56,
"b": 202
},
"hsl": {
"h": 263.425,
"s": 57.937,
"l": 50.588
},
"oklch": {
"l": 0.49788,
"c": 0.21076,
"h": 295.5
},
"luminance": 0.10603
}Semantic roles & 50–950 ramp
primary
#7138CA
secondary
#B6CF8E
accent
#E147A5
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83