#9247BC#9247BC

#9247BC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.183 H 311.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9247BC
RGBrgb(146, 71, 188)
HSLhsl(278, 47%, 51%)
HSVhsv(278, 62%, 74%)
CMYKcmyk(22.3%, 62.2%, 0%, 26.3%)
CIE-LABlab(44.59, 51.25, -48.90)
CIE-LCHlch(44.59, 70.84, 316.34°)
OKLaboklab(54.44% 0.1211 -0.1377)
OKLCHoklch(54.44% 0.183 311.3)
XYZxyz(23.1827, 14.2488, 49.0963)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247BC #71BC47
analogous
#5747BC #9247BC #BC47AB
triadic
#9247BC #BC9247 #47BC92
tetradic
#9247BC #BC5747 #71BC47 #47ABBC
square
#9247BC #BC5747 #71BC47 #47ABBC
split-complementary
#9247BC #ABBC47 #47BC57
monochromatic
#4D2464 #703591 #9247BC #AD74CC #C7A1DD

Accessibility & contrast

On white

5.46
#9247BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9247BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247BC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247BC#FFFFFF#000000##FFFFFF
##9247BC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#8D5D7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9247bc;
/* rgb */ color: rgb(146, 71, 188);
/* oklch */ color: oklch(54.4% 0.183 311.3);
Tailwind
colors: {
  custom: {
    50: '#b57ed1',
    500: '#9247bc',
    950: '#000000',
  },
}
SCSS
$custom: #9247bc;
$custom-light: #b57ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9247bc",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 278.462,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54439,
    "c": 0.18336,
    "h": 311.3
  },
  "luminance": 0.14248
}

Semantic roles & 50–950 ramp

primary
#9247BC
secondary
#A8C995
accent
#D65281
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9247BC

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

Preview Lab → · Contrast checker → · Palette generator →

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