#9150CD#9150CD

#9150CD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.189 H 305.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9150CD
RGBrgb(145, 80, 205)
HSLhsl(271, 56%, 56%)
HSVhsv(271, 61%, 80%)
CMYKcmyk(29.3%, 61%, 0%, 19.6%)
CIE-LABlab(47.19, 50.37, -54.58)
CIE-LCHlch(47.19, 74.27, 312.70°)
OKLaboklab(56.64% 0.1084 -0.1544)
OKLCHoklch(56.64% 0.189 305.1)
XYZxyz(25.5627, 16.1650, 59.5192)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150CD #8CCD50
analogous
#5250CD #9150CD #CD50CB
triadic
#9150CD #CD9150 #50CD91
tetradic
#9150CD #CD5250 #8CCD50 #50CBCD
square
#9150CD #CD5250 #8CCD50 #50CBCD
split-complementary
#9150CD #CBCD50 #50CD52
monochromatic
#53247E #7232AE #9150CD #AF80DB #CDAFE8

Accessibility & contrast

On white

4.96
#9150CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9150CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150CD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150CD#FFFFFF#000000##FFFFFF
##9150CD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086ED1
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#866987
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9150cd;
/* rgb */ color: rgb(145, 80, 205);
/* oklch */ color: oklch(56.6% 0.189 305.1);
Tailwind
colors: {
  custom: {
    50: '#b584dd',
    500: '#9150cd',
    950: '#000000',
  },
}
SCSS
$custom: #9150cd;
$custom-light: #b584dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9150cd",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 271.2,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56639,
    "c": 0.18865,
    "h": 305.1
  },
  "luminance": 0.16165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9150CD

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

Preview Lab → · Contrast checker → · Palette generator →

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