#9155CA#9155CA

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

Color values

HEX#9155CA
RGBrgb(145, 85, 202)
HSLhsl(271, 52%, 56%)
HSVhsv(271, 58%, 79%)
CMYKcmyk(28.2%, 57.9%, 0%, 20.8%)
CIE-LABlab(47.98, 47.04, -51.58)
CIE-LCHlch(47.98, 69.81, 312.37°)
OKLaboklab(57.16% 0.1023 -0.1456)
OKLCHoklch(57.16% 0.178 305.1)
XYZxyz(25.5839, 16.7812, 57.7569)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9155CA #8ECA55
analogous
#5755CA #9155CA #CA55C9
triadic
#9155CA #CA9155 #55CA91
tetradic
#9155CA #CA5755 #8ECA55 #55C9CA
square
#9155CA #CA5755 #8ECA55 #55C9CA
split-complementary
#9155CA #C9CA55 #55CA57
monochromatic
#53277D #7236AC #9155CA #AF84D9 #CDB2E7

Accessibility & contrast

On white

4.82
#9155CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9155CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9155CA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9155CA#FFFFFF#000000##FFFFFF
##9155CA1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#876C87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9155ca;
/* rgb */ color: rgb(145, 85, 202);
/* oklch */ color: oklch(57.2% 0.178 305.1);
Tailwind
colors: {
  custom: {
    50: '#b587db',
    500: '#9155ca',
    950: '#000000',
  },
}
SCSS
$custom: #9155ca;
$custom-light: #b587db;
$custom-dark: #000000;
JSON
{
  "hex": "#9155ca",
  "rgb": {
    "r": 145,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 270.769,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57158,
    "c": 0.17796,
    "h": 305.1
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#9155CA
secondary
#BDD5A5
accent
#DC4C92
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9155CA

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

Preview Lab → · Contrast checker → · Palette generator →

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