#9254BE#9254BE

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

Color values

HEX#9254BE
RGBrgb(146, 84, 190)
HSLhsl(275, 45%, 54%)
HSVhsv(275, 56%, 75%)
CMYKcmyk(23.2%, 55.8%, 0%, 25.5%)
CIE-LABlab(47.20, 45.02, -45.90)
CIE-LCHlch(47.20, 64.29, 314.44°)
OKLaboklab(56.38% 0.1046 -0.1289)
OKLCHoklch(56.38% 0.166 309)
XYZxyz(24.3168, 16.1697, 50.5453)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254BE #80BE54
analogous
#5D54BE #9254BE #BE54B5
triadic
#9254BE #BE9254 #54BE92
tetradic
#9254BE #BE5D54 #80BE54 #54B5BE
square
#9254BE #BE5D54 #80BE54 #54B5BE
split-complementary
#9254BE #B5BE54 #54BE5D
monochromatic
#522A6E #733B9A #9254BE #AE80CF #CBADE0

Accessibility & contrast

On white

4.96
#9254BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9254BE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254BE#FFFFFF#000000##FFFFFF
##9254BE1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326DC1
Deuteranopia (green-blind)
#4871BB
Tritanopia (blue-blind)
#8C6781
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9254be;
/* rgb */ color: rgb(146, 84, 190);
/* oklch */ color: oklch(56.4% 0.166 309.0);
Tailwind
colors: {
  custom: {
    50: '#b587d2',
    500: '#9254be',
    950: '#000000',
  },
}
SCSS
$custom: #9254be;
$custom-light: #b587d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9254be",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 275.094,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.16601,
    "h": 309
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#9254BE
secondary
#B3CEA0
accent
#D55389
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9254BE

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

Preview Lab → · Contrast checker → · Palette generator →

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