#9154E2#9154E2

#9154E2 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.207 H 299.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9154E2
RGBrgb(145, 84, 226)
HSLhsl(266, 71%, 61%)
HSVhsv(266, 63%, 89%)
CMYKcmyk(35.8%, 62.8%, 0%, 11.4%)
CIE-LABlab(49.31, 53.41, -63.13)
CIE-LCHlch(49.31, 82.69, 310.23°)
OKLaboklab(58.61% 0.1027 -0.1795)
OKLCHoklch(58.61% 0.207 299.8)
XYZxyz(28.5715, 17.8511, 73.8771)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154E2 #A5E254
analogous
#545EE2 #9154E2 #D854E2
triadic
#9154E2 #E29154 #54E291
tetradic
#9154E2 #E2545E #A5E254 #54E2D8
square
#9154E2 #E2545E #A5E254 #54E2D8
split-complementary
#9154E2 #E2D854 #5EE254
monochromatic
#541BA0 #7024D5 #9154E2 #B388EB #D4BDF4

Accessibility & contrast

On white

4.59
#9154E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9154E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9154E2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154E2#FFFFFF#000000##FFFFFF
##9154E21.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#1474DF
Tritanopia (blue-blind)
#7F7393
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9154e2;
/* rgb */ color: rgb(145, 84, 226);
/* oklch */ color: oklch(58.6% 0.207 299.8);
Tailwind
colors: {
  custom: {
    50: '#b687ec',
    500: '#9154e2',
    950: '#000000',
  },
}
SCSS
$custom: #9154e2;
$custom-light: #b687ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9154e2",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 265.775,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.2068,
    "h": 299.8
  },
  "luminance": 0.17851
}

Semantic roles & 50–950 ramp

primary
#9154E2
secondary
#CDE4AE
accent
#D31280
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9154E2

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

Preview Lab → · Contrast checker → · Palette generator →

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