#7230B2#7230B2
#7230B2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.194 H 302.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7230B2 |
|---|---|
| RGB | rgb(114, 48, 178) |
| HSL | hsl(270, 58%, 44%) |
| HSV | hsv(270, 73%, 70%) |
| CMYK | cmyk(36%, 73%, 0%, 30.2%) |
| CIE-LAB | lab(35.80, 52.97, -57.40) |
| CIE-LCH | lch(35.80, 78.11, 312.70°) |
| OKLab | oklab(47.02% 0.1046 -0.1636) |
| OKLCH | oklch(47.02% 0.194 302.6) |
| XYZ | xyz(16.0304, 8.9056, 42.9853) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.15
Purple (survey)
#7E1E9C
ΔE00 5.36
Bluey Purple
#6241C7
ΔE00 5.86
Purple Blue
#5D21D0
ΔE00 5.86
Blurple
#5539CC
ΔE00 6.55
Darkviolet
#9400D3
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7230B2 #70B230
analogous
#3130B2 #7230B2 #B230B1
triadic
#7230B2 #B27230 #30B272
tetradic
#7230B2 #B23130 #70B230 #30B1B2
square
#7230B2 #B23130 #70B230 #30B1B2
split-complementary
#7230B2 #B1B230 #30B231
monochromatic
#341652 #532382 #7230B2 #9150D0 #AF80DD
Accessibility & contrast
On white
7.55
#7230B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#7230B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7230B2
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7230B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7230B2 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#65506E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #7230b2; /* rgb */ color: rgb(114, 48, 178); /* oklch */ color: oklch(47.0% 0.194 302.6);
Tailwind
colors: {
custom: {
50: '#a06eca',
500: '#7230b2',
950: '#000000',
},
}SCSS
$custom: #7230b2; $custom-light: #a06eca; $custom-dark: #000000;
JSON
{
"hex": "#7230b2",
"rgb": {
"r": 114,
"g": 48,
"b": 178
},
"hsl": {
"h": 270.462,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.47024,
"c": 0.19416,
"h": 302.6
},
"luminance": 0.08906
}Semantic roles & 50–950 ramp
primary
#7230B2
secondary
#9EC678
accent
#E14793
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82