#9247BF#9247BF

#9247BF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.187 H 310.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9247BF
RGBrgb(146, 71, 191)
HSLhsl(278, 48%, 51%)
HSVhsv(278, 63%, 75%)
CMYKcmyk(23.6%, 62.8%, 0%, 25.1%)
CIE-LABlab(44.77, 51.91, -50.36)
CIE-LCHlch(44.77, 72.32, 315.87°)
OKLaboklab(54.63% 0.121 -0.1419)
OKLCHoklch(54.63% 0.187 310.5)
XYZxyz(23.5095, 14.3795, 50.8172)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247BF #74BF47
analogous
#5647BF #9247BF #BF47B0
triadic
#9247BF #BF9247 #47BF92
tetradic
#9247BF #BF5647 #74BF47 #47B0BF
square
#9247BF #BF5647 #74BF47 #47B0BF
split-complementary
#9247BF #B0BF47 #47BF56
monochromatic
#4E2468 #713495 #9247BF #AD74CF #C8A2DF

Accessibility & contrast

On white

5.42
#9247BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9247BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247BF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247BF#FFFFFF#000000##FFFFFF
##9247BF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B66C3
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#8C5E7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9247bf;
/* rgb */ color: rgb(146, 71, 191);
/* oklch */ color: oklch(54.6% 0.187 310.5);
Tailwind
colors: {
  custom: {
    50: '#b57fd3',
    500: '#9247bf',
    950: '#000000',
  },
}
SCSS
$custom: #9247bf;
$custom-light: #b57fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9247bf",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 277.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.18653,
    "h": 310.5
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#9247BF
secondary
#AACB96
accent
#D85083
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9247BF

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

Preview Lab → · Contrast checker → · Palette generator →

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