#9247E1#9247E1

#9247E1 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.222 H 302.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9247E1
RGBrgb(146, 71, 225)
HSLhsl(269, 72%, 58%)
HSVhsv(269, 68%, 88%)
CMYKcmyk(35.1%, 68.4%, 0%, 11.8%)
CIE-LABlab(47.04, 59.73, -66.24)
CIE-LCHlch(47.04, 89.19, 312.05°)
OKLaboklab(56.99% 0.1179 -0.1886)
OKLCHoklch(56.99% 0.222 302)
XYZxyz(27.6947, 16.0536, 72.8592)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247E1 #96E147
analogous
#4749E1 #9247E1 #DF47E1
triadic
#9247E1 #E19247 #47E192
tetradic
#9247E1 #E14749 #96E147 #47E1DF
square
#9247E1 #E14749 #96E147 #47E1DF
split-complementary
#9247E1 #E1DF47 #49E147
monochromatic
#551895 #7321CA #9247E1 #B17CEA #D0B0F2

Accessibility & contrast

On white

4.99
#9247E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9247E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247E1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247E1#FFFFFF#000000##FFFFFF
##9247E11.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#826B8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9247e1;
/* rgb */ color: rgb(146, 71, 225);
/* oklch */ color: oklch(57.0% 0.222 302.0);
Tailwind
colors: {
  custom: {
    50: '#b880eb',
    500: '#9247e1',
    950: '#000000',
  },
}
SCSS
$custom: #9247e1;
$custom-light: #b880eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9247e1",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 269.221,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56987,
    "c": 0.22241,
    "h": 302
  },
  "luminance": 0.16054
}

Semantic roles & 50–950 ramp

primary
#9247E1
secondary
#C3E1A3
accent
#EF3996
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9247E1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9247E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva