#9155C2#9155C2

#9155C2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.7% C 0.169 H 307.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9155C2
RGBrgb(145, 85, 194)
HSLhsl(273, 47%, 55%)
HSVhsv(273, 56%, 76%)
CMYKcmyk(25.3%, 56.2%, 0%, 23.9%)
CIE-LABlab(47.51, 45.15, -47.72)
CIE-LCHlch(47.51, 65.70, 313.41°)
OKLaboklab(56.66% 0.1022 -0.1343)
OKLCHoklch(56.66% 0.169 307.3)
XYZxyz(24.6612, 16.4121, 52.8972)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9155C2 #86C255
analogous
#5B55C2 #9155C2 #C255BC
triadic
#9155C2 #C29155 #55C291
tetradic
#9155C2 #C25B55 #86C255 #55BCC2
square
#9155C2 #C25B55 #86C255 #55BCC2
split-complementary
#9155C2 #BCC255 #55C25B
monochromatic
#522973 #723AA0 #9155C2 #AE82D2 #CBAFE2

Accessibility & contrast

On white

4.90
#9155C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9155C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9155C2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9155C2#FFFFFF#000000##FFFFFF
##9155C21.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6EC6
Deuteranopia (green-blind)
#4571BF
Tritanopia (blue-blind)
#896983
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9155c2;
/* rgb */ color: rgb(145, 85, 194);
/* oklch */ color: oklch(56.7% 0.169 307.3);
Tailwind
colors: {
  custom: {
    50: '#b487d5',
    500: '#9155c2',
    950: '#000000',
  },
}
SCSS
$custom: #9155c2;
$custom-light: #b487d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9155c2",
  "rgb": {
    "r": 145,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 273.028,
    "s": 47.186,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.16873,
    "h": 307.3
  },
  "luminance": 0.16412
}

Semantic roles & 50–950 ramp

primary
#9155C2
secondary
#B7D0A2
accent
#D7518D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #9155C2

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

Preview Lab → · Contrast checker → · Palette generator →

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