#9150CE#9150CE

#9150CE is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.7% C 0.190 H 304.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9150CE
RGBrgb(145, 80, 206)
HSLhsl(271, 56%, 56%)
HSVhsv(271, 61%, 81%)
CMYKcmyk(29.6%, 61.2%, 0%, 19.2%)
CIE-LABlab(47.25, 50.61, -55.05)
CIE-LCHlch(47.25, 74.78, 312.59°)
OKLaboklab(56.71% 0.1084 -0.1558)
OKLCHoklch(56.71% 0.19 304.8)
XYZxyz(25.6838, 16.2134, 60.1570)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150CE #8DCE50
analogous
#5250CE #9150CE #CE50CC
triadic
#9150CE #CE9150 #50CE91
tetradic
#9150CE #CE5250 #8DCE50 #50CCCE
square
#9150CE #CE5250 #8DCE50 #50CCCE
split-complementary
#9150CE #CCCE50 #50CE52
monochromatic
#532480 #7231B0 #9150CE #AF80DB #CDB0E9

Accessibility & contrast

On white

4.95
#9150CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9150CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150CE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150CE#FFFFFF#000000##FFFFFF
##9150CE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046ED2
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#866A88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9150ce;
/* rgb */ color: rgb(145, 80, 206);
/* oklch */ color: oklch(56.7% 0.190 304.8);
Tailwind
colors: {
  custom: {
    50: '#b584de',
    500: '#9150ce',
    950: '#000000',
  },
}
SCSS
$custom: #9150ce;
$custom-light: #b584de;
$custom-dark: #000000;
JSON
{
  "hex": "#9150ce",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 270.952,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56705,
    "c": 0.18978,
    "h": 304.8
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#9150CE
secondary
#BCD7A3
accent
#E04891
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9150CE

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

Preview Lab → · Contrast checker → · Palette generator →

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