#9150C8#9150C8

#9150C8 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.183 H 306.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9150C8
RGBrgb(145, 80, 200)
HSLhsl(273, 52%, 55%)
HSVhsv(273, 60%, 78%)
CMYKcmyk(27.5%, 60%, 0%, 21.6%)
CIE-LABlab(46.88, 49.20, -52.20)
CIE-LCHlch(46.88, 71.73, 313.30°)
OKLaboklab(56.31% 0.1086 -0.1474)
OKLCHoklch(56.31% 0.183 306.4)
XYZxyz(24.9688, 15.9274, 56.3913)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150C8 #87C850
analogous
#5550C8 #9150C8 #C850C3
triadic
#9150C8 #C89150 #50C891
tetradic
#9150C8 #C85550 #87C850 #50C3C8
square
#9150C8 #C85550 #87C850 #50C3C8
split-complementary
#9150C8 #C3C850 #50C855
monochromatic
#522678 #7234A6 #9150C8 #AE7FD7 #CCADE5

Accessibility & contrast

On white

5.02
#9150C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9150C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150C8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150C8#FFFFFF#000000##FFFFFF
##9150C81.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186DCC
Deuteranopia (green-blind)
#3970C5
Tritanopia (blue-blind)
#886884
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9150c8;
/* rgb */ color: rgb(145, 80, 200);
/* oklch */ color: oklch(56.3% 0.183 306.4);
Tailwind
colors: {
  custom: {
    50: '#b584d9',
    500: '#9150c8',
    950: '#000000',
  },
}
SCSS
$custom: #9150c8;
$custom-light: #b584d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9150c8",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 272.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56313,
    "c": 0.18306,
    "h": 306.4
  },
  "luminance": 0.15927
}

Semantic roles & 50–950 ramp

primary
#9150C8
secondary
#B8D3A1
accent
#DC4C8E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9150C8

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

Preview Lab → · Contrast checker → · Palette generator →

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