#9154DF#9154DF

#9154DF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.203 H 300.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9154DF
RGBrgb(145, 84, 223)
HSLhsl(266, 68%, 60%)
HSVhsv(266, 62%, 87%)
CMYKcmyk(35%, 62.3%, 0%, 12.5%)
CIE-LABlab(49.12, 52.67, -61.76)
CIE-LCHlch(49.12, 81.16, 310.46°)
OKLaboklab(58.41% 0.1029 -0.1755)
OKLCHoklch(58.41% 0.203 300.4)
XYZxyz(28.1634, 17.6879, 71.7281)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154DF #A2DF54
analogous
#545CDF #9154DF #D754DF
triadic
#9154DF #DF9154 #54DF91
tetradic
#9154DF #DF545C #A2DF54 #54DFD7
square
#9154DF #DF545C #A2DF54 #54DFD7
split-complementary
#9154DF #DFD754 #5CDF54
monochromatic
#551D9C #7127CF #9154DF #B288E9 #D3BBF2

Accessibility & contrast

On white

4.63
#9154DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9154DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9154DF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154DF#FFFFFF#000000##FFFFFF
##9154DF1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#1D74DC
Tritanopia (blue-blind)
#807292
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9154df;
/* rgb */ color: rgb(145, 84, 223);
/* oklch */ color: oklch(58.4% 0.203 300.4);
Tailwind
colors: {
  custom: {
    50: '#b687ea',
    500: '#9154df',
    950: '#000000',
  },
}
SCSS
$custom: #9154df;
$custom-light: #b687ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9154df",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 266.331,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58407,
    "c": 0.2034,
    "h": 300.4
  },
  "luminance": 0.17688
}

Semantic roles & 50–950 ramp

primary
#9154DF
secondary
#CBE2AD
accent
#D0157E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9154DF

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

Preview Lab → · Contrast checker → · Palette generator →

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