#9247BD#9247BD

#9247BD is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.5% C 0.184 H 311.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9247BD
RGBrgb(146, 71, 189)
HSLhsl(278, 47%, 51%)
HSVhsv(278, 62%, 74%)
CMYKcmyk(22.8%, 62.4%, 0%, 25.9%)
CIE-LABlab(44.65, 51.47, -49.39)
CIE-LCHlch(44.65, 71.33, 316.18°)
OKLaboklab(54.5% 0.1211 -0.1391)
OKLCHoklch(54.5% 0.184 311)
XYZxyz(23.2909, 14.2921, 49.6660)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247BD #72BD47
analogous
#5747BD #9247BD #BD47AD
triadic
#9247BD #BD9247 #47BD92
tetradic
#9247BD #BD5747 #72BD47 #47ADBD
square
#9247BD #BD5747 #72BD47 #47ADBD
split-complementary
#9247BD #ADBD47 #47BD57
monochromatic
#4E2465 #703492 #9247BD #AD74CD #C7A1DD

Accessibility & contrast

On white

5.44
#9247BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9247BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247BD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247BD#FFFFFF#000000##FFFFFF
##9247BD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1266C1
Deuteranopia (green-blind)
#3B6BBA
Tritanopia (blue-blind)
#8D5E7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9247bd;
/* rgb */ color: rgb(146, 71, 189);
/* oklch */ color: oklch(54.5% 0.184 311.0);
Tailwind
colors: {
  custom: {
    50: '#b57fd1',
    500: '#9247bd',
    950: '#000000',
  },
}
SCSS
$custom: #9247bd;
$custom-light: #b57fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9247bd",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 278.136,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54503,
    "c": 0.18441,
    "h": 311
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#9247BD
secondary
#A9CA96
accent
#D75182
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9247BD

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

Preview Lab → · Contrast checker → · Palette generator →

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