#9254BD#9254BD

#9254BD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.3% C 0.165 H 309.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9254BD
RGBrgb(146, 84, 189)
HSLhsl(275, 44%, 54%)
HSVhsv(275, 56%, 74%)
CMYKcmyk(22.8%, 55.6%, 0%, 25.9%)
CIE-LABlab(47.14, 44.79, -45.41)
CIE-LCHlch(47.14, 63.78, 314.60°)
OKLaboklab(56.32% 0.1045 -0.1275)
OKLCHoklch(56.32% 0.165 309.3)
XYZxyz(24.2079, 16.1262, 49.9716)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254BD #7FBD54
analogous
#5D54BD #9254BD #BD54B3
triadic
#9254BD #BD9254 #54BD92
tetradic
#9254BD #BD5D54 #7FBD54 #54B3BD
square
#9254BD #BD5D54 #7FBD54 #54B3BD
split-complementary
#9254BD #B3BD54 #54BD5D
monochromatic
#512A6D #723B99 #9254BD #AE80CE #CAACDF

Accessibility & contrast

On white

4.97
#9254BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9254BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9254BD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254BD#FFFFFF#000000##FFFFFF
##9254BD1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DC0
Deuteranopia (green-blind)
#4971BA
Tritanopia (blue-blind)
#8C6780
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9254bd;
/* rgb */ color: rgb(146, 84, 189);
/* oklch */ color: oklch(56.3% 0.165 309.3);
Tailwind
colors: {
  custom: {
    50: '#b587d1',
    500: '#9254bd',
    950: '#000000',
  },
}
SCSS
$custom: #9254bd;
$custom-light: #b587d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9254bd",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 275.429,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5632,
    "c": 0.16487,
    "h": 309.3
  },
  "luminance": 0.16126
}

Semantic roles & 50–950 ramp

primary
#9254BD
secondary
#B2CDA0
accent
#D45488
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9254BD

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

Preview Lab → · Contrast checker → · Palette generator →

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