#9154BF#9154BF

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

Color values

HEX#9154BF
RGBrgb(145, 84, 191)
HSLhsl(274, 46%, 54%)
HSVhsv(274, 56%, 75%)
CMYKcmyk(24.1%, 56%, 0%, 25.1%)
CIE-LABlab(47.13, 44.99, -46.59)
CIE-LCHlch(47.13, 64.76, 314.00°)
OKLaboklab(56.33% 0.1033 -0.131)
OKLCHoklch(56.33% 0.167 308.3)
XYZxyz(24.2495, 16.1223, 51.1146)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154BF #82BF54
analogous
#5C54BF #9154BF #BF54B8
triadic
#9154BF #BF9154 #54BF91
tetradic
#9154BF #BF5C54 #82BF54 #54B8BF
square
#9154BF #BF5C54 #82BF54 #54B8BF
split-complementary
#9154BF #B8BF54 #54BF5C
monochromatic
#512A6F #723A9C #9154BF #AE81D0 #CAADE0

Accessibility & contrast

On white

4.97
#9154BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9154BF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154BF#FFFFFF#000000##FFFFFF
##9154BF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306DC3
Deuteranopia (green-blind)
#4671BC
Tritanopia (blue-blind)
#8A6881
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9154bf;
/* rgb */ color: rgb(145, 84, 191);
/* oklch */ color: oklch(56.3% 0.167 308.3);
Tailwind
colors: {
  custom: {
    50: '#b486d3',
    500: '#9154bf',
    950: '#000000',
  },
}
SCSS
$custom: #9154bf;
$custom-light: #b486d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9154bf",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 274.206,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56327,
    "c": 0.16683,
    "h": 308.3
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9154BF

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

Preview Lab → · Contrast checker → · Palette generator →

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