#9150DC#9150DC

#9150DC is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.205 H 301.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9150DC
RGBrgb(145, 80, 220)
HSLhsl(268, 67%, 59%)
HSVhsv(268, 64%, 86%)
CMYKcmyk(34.1%, 63.6%, 0%, 13.7%)
CIE-LABlab(48.16, 53.97, -61.59)
CIE-LCHlch(48.16, 81.89, 311.23°)
OKLaboklab(57.66% 0.1076 -0.175)
OKLCHoklch(57.66% 0.205 301.6)
XYZxyz(27.4609, 16.9243, 69.5162)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150DC #9BDC50
analogous
#5055DC #9150DC #D750DC
triadic
#9150DC #DC9150 #50DC91
tetradic
#9150DC #DC5055 #9BDC50 #50DCD7
square
#9150DC #DC5055 #9BDC50 #50DCD7
split-complementary
#9150DC #DCD750 #55DC50
monochromatic
#551E94 #7228C7 #9150DC #B183E6 #D1B6F0

Accessibility & contrast

On white

4.79
#9150DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9150DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150DC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150DC#FFFFFF#000000##FFFFFF
##9150DC1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#1972D9
Tritanopia (blue-blind)
#826F8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9150dc;
/* rgb */ color: rgb(145, 80, 220);
/* oklch */ color: oklch(57.7% 0.205 301.6);
Tailwind
colors: {
  custom: {
    50: '#b685e8',
    500: '#9150dc',
    950: '#000000',
  },
}
SCSS
$custom: #9150dc;
$custom-light: #b685e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9150dc",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 267.857,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57655,
    "c": 0.2054,
    "h": 301.6
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#9150DC
secondary
#C6DFA8
accent
#EA3E9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9150DC

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

Preview Lab → · Contrast checker → · Palette generator →

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