#9154BE#9154BE

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

Color values

HEX#9154BE
RGBrgb(145, 84, 190)
HSLhsl(275, 45%, 54%)
HSVhsv(275, 56%, 75%)
CMYKcmyk(23.7%, 55.8%, 0%, 25.5%)
CIE-LABlab(47.08, 44.76, -46.10)
CIE-LCHlch(47.08, 64.25, 314.16°)
OKLaboklab(56.27% 0.1033 -0.1295)
OKLCHoklch(56.27% 0.166 308.6)
XYZxyz(24.1398, 16.0784, 50.5370)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154BE #81BE54
analogous
#5C54BE #9154BE #BE54B6
triadic
#9154BE #BE9154 #54BE91
tetradic
#9154BE #BE5C54 #81BE54 #54B6BE
square
#9154BE #BE5C54 #81BE54 #54B6BE
split-complementary
#9154BE #B6BE54 #54BE5C
monochromatic
#512A6E #723B9A #9154BE #AE80CF #CAADE0

Accessibility & contrast

On white

4.98
#9154BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9154BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9154BE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154BE#FFFFFF#000000##FFFFFF
##9154BE1.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)
#316DC1
Deuteranopia (green-blind)
#4770BB
Tritanopia (blue-blind)
#8B6781
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9154be;
/* rgb */ color: rgb(145, 84, 190);
/* oklch */ color: oklch(56.3% 0.166 308.6);
Tailwind
colors: {
  custom: {
    50: '#b486d2',
    500: '#9154be',
    950: '#000000',
  },
}
SCSS
$custom: #9154be;
$custom-light: #b486d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9154be",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 274.528,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.16568,
    "h": 308.6
  },
  "luminance": 0.16078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9154BE

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

Preview Lab → · Contrast checker → · Palette generator →

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