#9154B2#9154B2

#9154B2 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.152 H 312.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9154B2
RGBrgb(145, 84, 178)
HSLhsl(279, 38%, 51%)
HSVhsv(279, 53%, 70%)
CMYKcmyk(18.5%, 52.8%, 0%, 30.2%)
CIE-LABlab(46.41, 42.03, -40.16)
CIE-LCHlch(46.41, 58.13, 316.30°)
OKLaboklab(55.56% 0.1025 -0.1122)
OKLCHoklch(55.56% 0.152 312.4)
XYZxyz(22.8819, 15.5753, 43.9118)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154B2 #75B254
analogous
#6254B2 #9154B2 #B254A4
triadic
#9154B2 #B29154 #54B291
tetradic
#9154B2 #B26254 #75B254 #54A4B2
square
#9154B2 #B26254 #75B254 #54A4B2
split-complementary
#9154B2 #A4B254 #54B262
monochromatic
#4E2B60 #703E8A #9154B2 #AC7EC5 #C7A8D8

Accessibility & contrast

On white

5.10
#9154B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9154B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9154B2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154B2#FFFFFF#000000##FFFFFF
##9154B21.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#8E637B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9154b2;
/* rgb */ color: rgb(145, 84, 178);
/* oklch */ color: oklch(55.6% 0.152 312.4);
Tailwind
colors: {
  custom: {
    50: '#b386c9',
    500: '#9154b2',
    950: '#000000',
  },
}
SCSS
$custom: #9154b2;
$custom-light: #b386c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9154b2",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 278.936,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55562,
    "c": 0.15196,
    "h": 312.4
  },
  "luminance": 0.15575
}

Semantic roles & 50–950 ramp

primary
#9154B2
secondary
#ABC69C
accent
#CE5A83
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #9154B2

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

Preview Lab → · Contrast checker → · Palette generator →

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