#9150CB#9150CB

#9150CB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.186 H 305.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9150CB
RGBrgb(145, 80, 203)
HSLhsl(272, 54%, 55%)
HSVhsv(272, 61%, 80%)
CMYKcmyk(28.6%, 60.6%, 0%, 20.4%)
CIE-LABlab(47.06, 49.90, -53.63)
CIE-LCHlch(47.06, 73.26, 312.94°)
OKLaboklab(56.51% 0.1085 -0.1516)
OKLCHoklch(56.51% 0.186 305.6)
XYZxyz(25.3229, 16.0690, 58.2559)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150CB #8ACB50
analogous
#5350CB #9150CB #CB50C8
triadic
#9150CB #CB9150 #50CB91
tetradic
#9150CB #CB5350 #8ACB50 #50C8CB
square
#9150CB #CB5350 #8ACB50 #50C8CB
split-complementary
#9150CB #C8CB50 #50CB53
monochromatic
#53257C #7233AB #9150CB #AF7FD9 #CCAEE7

Accessibility & contrast

On white

4.98
#9150CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9150CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150CB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150CB#FFFFFF#000000##FFFFFF
##9150CB1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106ECF
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#876986
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9150cb;
/* rgb */ color: rgb(145, 80, 203);
/* oklch */ color: oklch(56.5% 0.186 305.6);
Tailwind
colors: {
  custom: {
    50: '#b584db',
    500: '#9150cb',
    950: '#000000',
  },
}
SCSS
$custom: #9150cb;
$custom-light: #b584db;
$custom-dark: #000000;
JSON
{
  "hex": "#9150cb",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 271.707,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56508,
    "c": 0.18642,
    "h": 305.6
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9150CB

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

Preview Lab → · Contrast checker → · Palette generator →

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