#9155C9#9155C9

#9155C9 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.177 H 305.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9155C9
RGBrgb(145, 85, 201)
HSLhsl(271, 52%, 56%)
HSVhsv(271, 58%, 79%)
CMYKcmyk(27.9%, 57.7%, 0%, 21.2%)
CIE-LABlab(47.92, 46.81, -51.10)
CIE-LCHlch(47.92, 69.30, 312.49°)
OKLaboklab(57.1% 0.1023 -0.1442)
OKLCHoklch(57.1% 0.177 305.4)
XYZxyz(25.4659, 16.7340, 57.1354)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9155C9 #8DC955
analogous
#5755C9 #9155C9 #C955C7
triadic
#9155C9 #C99155 #55C991
tetradic
#9155C9 #C95755 #8DC955 #55C7C9
square
#9155C9 #C95755 #8DC955 #55C7C9
split-complementary
#9155C9 #C7C955 #55C957
monochromatic
#53277C #7236AB #9155C9 #AF83D8 #CDB2E7

Accessibility & contrast

On white

4.83
#9155C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9155C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9155C9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9155C9#FFFFFF#000000##FFFFFF
##9155C91.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2670CD
Deuteranopia (green-blind)
#3F72C6
Tritanopia (blue-blind)
#876C87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9155c9;
/* rgb */ color: rgb(145, 85, 201);
/* oklch */ color: oklch(57.1% 0.177 305.4);
Tailwind
colors: {
  custom: {
    50: '#b587da',
    500: '#9155c9',
    950: '#000000',
  },
}
SCSS
$custom: #9155c9;
$custom-light: #b587da;
$custom-dark: #000000;
JSON
{
  "hex": "#9155c9",
  "rgb": {
    "r": 145,
    "g": 85,
    "b": 201
  },
  "hsl": {
    "h": 271.034,
    "s": 51.786,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.17681,
    "h": 305.4
  },
  "luminance": 0.16734
}

Semantic roles & 50–950 ramp

primary
#9155C9
secondary
#BCD5A5
accent
#DB4D91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9155C9

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

Preview Lab → · Contrast checker → · Palette generator →

#9155C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva