#9154DB#9154DB

#9154DB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.1% C 0.199 H 301.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9154DB
RGBrgb(145, 84, 219)
HSLhsl(267, 65%, 59%)
HSVhsv(267, 62%, 86%)
CMYKcmyk(33.8%, 61.6%, 0%, 14.1%)
CIE-LABlab(48.85, 51.69, -59.91)
CIE-LCHlch(48.85, 79.12, 310.79°)
OKLaboklab(58.13% 0.1031 -0.17)
OKLCHoklch(58.13% 0.199 301.2)
XYZxyz(27.6305, 17.4747, 68.9214)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154DB #9EDB54
analogous
#545BDB #9154DB #D454DB
triadic
#9154DB #DB9154 #54DB91
tetradic
#9154DB #DB545B #9EDB54 #54DBD4
square
#9154DB #DB545B #9EDB54 #54DBD4
split-complementary
#9154DB #DBD454 #5BDB54
monochromatic
#551F95 #712AC8 #9154DB #B287E6 #D2B9F0

Accessibility & contrast

On white

4.67
#9154DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9154DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9154DB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154DB#FFFFFF#000000##FFFFFF
##9154DB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#2573D8
Tritanopia (blue-blind)
#827190
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9154db;
/* rgb */ color: rgb(145, 84, 219);
/* oklch */ color: oklch(58.1% 0.199 301.2);
Tailwind
colors: {
  custom: {
    50: '#b687e7',
    500: '#9154db',
    950: '#000000',
  },
}
SCSS
$custom: #9154db;
$custom-light: #b687e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9154db",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 267.111,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.19886,
    "h": 301.2
  },
  "luminance": 0.17475
}

Semantic roles & 50–950 ramp

primary
#9154DB
secondary
#C8E0AB
accent
#E8409C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9154DB

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

Preview Lab → · Contrast checker → · Palette generator →

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