#9150CC#9150CC

#9150CC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.188 H 305.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9150CC
RGBrgb(145, 80, 204)
HSLhsl(271, 55%, 56%)
HSVhsv(271, 61%, 80%)
CMYKcmyk(28.9%, 60.8%, 0%, 20%)
CIE-LABlab(47.13, 50.14, -54.11)
CIE-LCHlch(47.13, 73.76, 312.82°)
OKLaboklab(56.57% 0.1085 -0.153)
OKLCHoklch(56.57% 0.188 305.3)
XYZxyz(25.4424, 16.1169, 58.8856)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150CC #8BCC50
analogous
#5350CC #9150CC #CC50C9
triadic
#9150CC #CC9150 #50CC91
tetradic
#9150CC #CC5350 #8BCC50 #50C9CC
square
#9150CC #CC5350 #8BCC50 #50C9CC
split-complementary
#9150CC #C9CC50 #50CC53
monochromatic
#53247D #7232AD #9150CC #AF7FDA #CDAFE8

Accessibility & contrast

On white

4.97
#9150CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9150CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150CC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150CC#FFFFFF#000000##FFFFFF
##9150CC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6ED0
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#876986
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9150cc;
/* rgb */ color: rgb(145, 80, 204);
/* oklch */ color: oklch(56.6% 0.188 305.3);
Tailwind
colors: {
  custom: {
    50: '#b584dc',
    500: '#9150cc',
    950: '#000000',
  },
}
SCSS
$custom: #9150cc;
$custom-light: #b584dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9150cc",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 271.452,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.18754,
    "h": 305.3
  },
  "luminance": 0.16117
}

Semantic roles & 50–950 ramp

primary
#9150CC
secondary
#BBD6A2
accent
#DE4A90
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9150CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9150CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva