#9254BC#9254BC

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

Color values

HEX#9254BC
RGBrgb(146, 84, 188)
HSLhsl(276, 44%, 53%)
HSVhsv(276, 55%, 74%)
CMYKcmyk(22.3%, 55.3%, 0%, 26.3%)
CIE-LABlab(47.08, 44.56, -44.92)
CIE-LCHlch(47.08, 63.27, 314.77°)
OKLaboklab(56.26% 0.1045 -0.1261)
OKLCHoklch(56.26% 0.164 309.7)
XYZxyz(24.0998, 16.0829, 49.4019)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254BC #7EBC54
analogous
#5E54BC #9254BC #BC54B2
triadic
#9254BC #BC9254 #54BC92
tetradic
#9254BC #BC5E54 #7EBC54 #54B2BC
square
#9254BC #BC5E54 #7EBC54 #54B2BC
split-complementary
#9254BC #B2BC54 #54BC5E
monochromatic
#512A6B #723B97 #9254BC #AE80CD #CAACDE

Accessibility & contrast

On white

4.98
#9254BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9254BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9254BC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254BC#FFFFFF#000000##FFFFFF
##9254BC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBF
Deuteranopia (green-blind)
#4971B9
Tritanopia (blue-blind)
#8C6680
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9254bc;
/* rgb */ color: rgb(146, 84, 188);
/* oklch */ color: oklch(56.3% 0.164 309.7);
Tailwind
colors: {
  custom: {
    50: '#b586d1',
    500: '#9254bc',
    950: '#000000',
  },
}
SCSS
$custom: #9254bc;
$custom-light: #b586d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9254bc",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 275.769,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56261,
    "c": 0.16373,
    "h": 309.7
  },
  "luminance": 0.16082
}

Semantic roles & 50–950 ramp

primary
#9254BC
secondary
#B2CCA0
accent
#D35488
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9254BC

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

Preview Lab → · Contrast checker → · Palette generator →

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