#9254BF#9254BF

#9254BF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.167 H 308.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9254BF
RGBrgb(146, 84, 191)
HSLhsl(275, 46%, 54%)
HSVhsv(275, 56%, 75%)
CMYKcmyk(23.6%, 56%, 0%, 25.1%)
CIE-LABlab(47.25, 45.25, -46.39)
CIE-LCHlch(47.25, 64.80, 314.29°)
OKLaboklab(56.44% 0.1046 -0.1304)
OKLCHoklch(56.44% 0.167 308.7)
XYZxyz(24.4265, 16.2136, 51.1229)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254BF #81BF54
analogous
#5D54BF #9254BF #BF54B7
triadic
#9254BF #BF9254 #54BF92
tetradic
#9254BF #BF5D54 #81BF54 #54B7BF
square
#9254BF #BF5D54 #81BF54 #54B7BF
split-complementary
#9254BF #B7BF54 #54BF5D
monochromatic
#522A6F #733A9C #9254BF #AE81D0 #CBADE0

Accessibility & contrast

On white

4.95
#9254BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9254BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9254BF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254BF#FFFFFF#000000##FFFFFF
##9254BF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316DC3
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#8C6781
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9254bf;
/* rgb */ color: rgb(146, 84, 191);
/* oklch */ color: oklch(56.4% 0.167 308.7);
Tailwind
colors: {
  custom: {
    50: '#b587d3',
    500: '#9254bf',
    950: '#000000',
  },
}
SCSS
$custom: #9254bf;
$custom-light: #b587d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9254bf",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 274.766,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.16715,
    "h": 308.7
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#9254BF
secondary
#B4CEA1
accent
#D5538A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #9254BF

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

Preview Lab → · Contrast checker → · Palette generator →

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