#9438E2#9438E2
#9438E2 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.7% C 0.240 H 304.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9438E2 |
|---|---|
| RGB | rgb(148, 56, 226) |
| HSL | hsl(272, 75%, 55%) |
| HSV | hsv(272, 75%, 89%) |
| CMYK | cmyk(34.5%, 75.2%, 0%, 11.4%) |
| CIE-LAB | lab(45.10, 66.73, -69.95) |
| CIE-LCH | lch(45.10, 96.67, 313.65°) |
| OKLab | oklab(55.69% 0.1344 -0.1993) |
| OKLCH | oklch(55.69% 0.24 304) |
| XYZ | xyz(27.3512, 14.6153, 73.3169) |
| Luminance | 0.1462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.95
Violet (survey)
#9A0EEA
ΔE00 3.58
Darkorchid
#9932CC
ΔE00 3.59
Vivid Purple
#9900FA
ΔE00 4.19
Electric Purple
#AA23FF
ΔE00 4.59
Bright Violet
#AD0AFD
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9438E2 #86E238
analogous
#3F38E2 #9438E2 #E238DB
triadic
#9438E2 #E29438 #38E294
tetradic
#9438E2 #E23F38 #86E238 #38DBE2
square
#9438E2 #E23F38 #86E238 #38DBE2
split-complementary
#9438E2 #DBE238 #38E23F
monochromatic
#55148B #751CC1 #9438E2 #B16DEA #CDA3F2
Accessibility & contrast
On white
5.35
#9438E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#9438E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9438E2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9438E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9438E2 | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#85638B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9438e2; /* rgb */ color: rgb(148, 56, 226); /* oklch */ color: oklch(55.7% 0.240 304.0);
Tailwind
colors: {
custom: {
50: '#ba78ec',
500: '#9438e2',
950: '#000000',
},
}SCSS
$custom: #9438e2; $custom-light: #ba78ec; $custom-dark: #000000;
JSON
{
"hex": "#9438e2",
"rgb": {
"r": 148,
"g": 56,
"b": 226
},
"hsl": {
"h": 272.471,
"s": 74.561,
"l": 55.294
},
"oklch": {
"l": 0.55689,
"c": 0.2404,
"h": 304
},
"luminance": 0.14615
}Semantic roles & 50–950 ramp
primary
#9438E2
secondary
#B8DE97
accent
#F1378C
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84