#9154E7#9154E7

#9154E7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.212 H 298.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9154E7
RGBrgb(145, 84, 231)
HSLhsl(265, 75%, 62%)
HSVhsv(265, 64%, 91%)
CMYKcmyk(37.2%, 63.6%, 0%, 9.4%)
CIE-LABlab(49.65, 54.65, -65.41)
CIE-LCHlch(49.65, 85.24, 309.88°)
OKLaboklab(58.97% 0.1022 -0.1862)
OKLCHoklch(58.97% 0.212 298.8)
XYZxyz(29.2676, 18.1296, 77.5432)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154E7 #AAE754
analogous
#5461E7 #9154E7 #DB54E7
triadic
#9154E7 #E79154 #54E791
tetradic
#9154E7 #E75461 #AAE754 #54E7DB
square
#9154E7 #E75461 #AAE754 #54E7DB
split-complementary
#9154E7 #E7DB54 #61E754
monochromatic
#5418A9 #6F1FDF #9154E7 #B48AEF #D6BFF6

Accessibility & contrast

On white

4.54
#9154E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9154E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9154E7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154E7#FFFFFF#000000##000000
##9154E71.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#7D7596
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9154e7;
/* rgb */ color: rgb(145, 84, 231);
/* oklch */ color: oklch(59.0% 0.212 298.8);
Tailwind
colors: {
  custom: {
    50: '#b787ef',
    500: '#9154e7',
    950: '#000000',
  },
}
SCSS
$custom: #9154e7;
$custom-light: #b787ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9154e7",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 264.898,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58966,
    "c": 0.21245,
    "h": 298.8
  },
  "luminance": 0.1813
}

Semantic roles & 50–950 ramp

primary
#9154E7
secondary
#D0E7B0
accent
#D80E84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9154E7

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

Preview Lab → · Contrast checker → · Palette generator →

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