#947CE3#947CE3
#947CE3 is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.3% C 0.150 H 292.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #947CE3 |
|---|---|
| RGB | rgb(148, 124, 227) |
| HSL | hsl(254, 65%, 69%) |
| HSV | hsv(254, 45%, 89%) |
| CMYK | cmyk(34.8%, 45.4%, 0%, 11%) |
| CIE-LAB | lab(58.28, 32.25, -49.32) |
| CIE-LCH | lch(58.28, 58.93, 303.18°) |
| OKLab | oklab(65.33% 0.0574 -0.1389) |
| OKLCH | oklch(65.33% 0.15 292.5) |
| XYZ | xyz(33.2819, 26.2565, 75.9727) |
| Luminance | 0.2626 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.73
Periwinkle (survey)
#8E82FE
ΔE00 4.84
Perrywinkle
#8F8CE7
ΔE00 5.45
Lavender Blue
#8B88F8
ΔE00 5.66
Light Urple
#B36FF6
ΔE00 7.17
Mediumslateblue
#7B68EE
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#947CE3 #CBE37C
analogous
#7C98E3 #947CE3 #C87CE3
triadic
#947CE3 #E3947C #7CE394
tetradic
#947CE3 #E37C98 #CBE37C #7CE3C8
square
#947CE3 #E37C98 #CBE37C #7CE3C8
split-complementary
#947CE3 #E3C87C #98E37C
monochromatic
#4B28BC #6B4AD8 #947CE3 #BDAEEE #E6E1F9
Accessibility & contrast
On white
3.36
#947CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#947CE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #947CE3
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##947CE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##947CE3 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598EE7
Deuteranopia (green-blind)
#5C8AE1
Tritanopia (blue-blind)
#8190A5
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #947ce3; /* rgb */ color: rgb(148, 124, 227); /* oklch */ color: oklch(65.3% 0.150 292.5);
Tailwind
colors: {
custom: {
50: '#b6a2ec',
500: '#947ce3',
950: '#000000',
},
}SCSS
$custom: #947ce3; $custom-light: #b6a2ec; $custom-dark: #000000;
JSON
{
"hex": "#947ce3",
"rgb": {
"r": 148,
"g": 124,
"b": 227
},
"hsl": {
"h": 253.981,
"s": 64.78,
"l": 68.824
},
"oklch": {
"l": 0.65331,
"c": 0.15034,
"h": 292.5
},
"luminance": 0.26257
}Semantic roles & 50–950 ramp
primary
#947CE3
secondary
#E6EDCE
accent
#CD19A3
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84