#7C38CB#7C38CB
#7C38CB is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.213 H 299.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7C38CB |
|---|---|
| RGB | rgb(124, 56, 203) |
| HSL | hsl(268, 59%, 51%) |
| HSV | hsv(268, 72%, 80%) |
| CMYK | cmyk(38.9%, 72.4%, 0%, 20.4%) |
| CIE-LAB | lab(40.29, 57.25, -64.72) |
| CIE-LCH | lch(40.29, 86.41, 311.50°) |
| OKLab | oklab(51.08% 0.1061 -0.1848) |
| OKLCH | oklch(51.08% 0.213 299.9) |
| XYZ | xyz(20.5032, 11.4250, 57.6134) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.57
Bluish Purple
#703BE7
ΔE00 4.36
Burple
#6832E3
ΔE00 4.54
Bluey Purple
#6241C7
ΔE00 4.63
Darkorchid
#9932CC
ΔE00 5.08
Darkviolet
#9400D3
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C38CB #87CB38
analogous
#383DCB #7C38CB #C538CB
triadic
#7C38CB #CB7C38 #38CB7C
tetradic
#7C38CB #CB383D #87CB38 #38CBC5
square
#7C38CB #CB383D #87CB38 #38CBC5
split-complementary
#7C38CB #CBC538 #3DCB38
monochromatic
#411C6C #5F299D #7C38CB #9C69D8 #BC99E4
Accessibility & contrast
On white
6.39
#7C38CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#7C38CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C38CB
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C38CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C38CB | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#6A5D7E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7c38cb; /* rgb */ color: rgb(124, 56, 203); /* oklch */ color: oklch(51.1% 0.213 299.9);
Tailwind
colors: {
custom: {
50: '#a875dc',
500: '#7c38cb',
950: '#000000',
},
}SCSS
$custom: #7c38cb; $custom-light: #a875dc; $custom-dark: #000000;
JSON
{
"hex": "#7c38cb",
"rgb": {
"r": 124,
"g": 56,
"b": 203
},
"hsl": {
"h": 267.755,
"s": 58.566,
"l": 50.784
},
"oklch": {
"l": 0.51083,
"c": 0.21308,
"h": 299.9
},
"luminance": 0.11425
}Semantic roles & 50–950 ramp
primary
#7C38CB
secondary
#B2D08F
accent
#E2469A
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#100915
muted
#7F7B83