#9155CB#9155CB

#9155CB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.179 H 304.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9155CB
RGBrgb(145, 85, 203)
HSLhsl(271, 53%, 56%)
HSVhsv(271, 58%, 80%)
CMYKcmyk(28.6%, 58.1%, 0%, 20.4%)
CIE-LABlab(48.04, 47.28, -52.06)
CIE-LCHlch(48.04, 70.33, 312.25°)
OKLaboklab(57.22% 0.1023 -0.147)
OKLCHoklch(57.22% 0.179 304.8)
XYZxyz(25.7027, 16.8287, 58.3825)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9155CB #8FCB55
analogous
#5655CB #9155CB #CB55CA
triadic
#9155CB #CB9155 #55CB91
tetradic
#9155CB #CB5655 #8FCB55 #55CACB
square
#9155CB #CB5655 #8FCB55 #55CACB
split-complementary
#9155CB #CACB55 #55CB56
monochromatic
#54277F #7235AE #9155CB #AF84D9 #CEB3E8

Accessibility & contrast

On white

4.81
#9155CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9155CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9155CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9155CB#FFFFFF#000000##FFFFFF
##9155CB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#876C88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9155cb;
/* rgb */ color: rgb(145, 85, 203);
/* oklch */ color: oklch(57.2% 0.179 304.8);
Tailwind
colors: {
  custom: {
    50: '#b587db',
    500: '#9155cb',
    950: '#000000',
  },
}
SCSS
$custom: #9155cb;
$custom-light: #b587db;
$custom-dark: #000000;
JSON
{
  "hex": "#9155cb",
  "rgb": {
    "r": 145,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 270.508,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.17911,
    "h": 304.8
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#9155CB
secondary
#BDD6A6
accent
#DD4B93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9155CB

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

Preview Lab → · Contrast checker → · Palette generator →

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