#9150D2#9150D2

#9150D2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.0% C 0.194 H 303.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9150D2
RGBrgb(145, 80, 210)
HSLhsl(270, 59%, 57%)
HSVhsv(270, 62%, 82%)
CMYKcmyk(31%, 61.9%, 0%, 17.6%)
CIE-LABlab(47.51, 51.56, -56.94)
CIE-LCHlch(47.51, 76.82, 312.16°)
OKLaboklab(56.97% 0.1082 -0.1613)
OKLCHoklch(56.97% 0.194 303.9)
XYZxyz(26.1760, 16.4103, 62.7488)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150D2 #91D250
analogous
#5050D2 #9150D2 #D250D2
triadic
#9150D2 #D29150 #50D291
tetradic
#9150D2 #D25050 #91D250 #50D2D2
square
#9150D2 #D25050 #91D250 #50D2D2
split-complementary
#9150D2 #D2D250 #50D250
monochromatic
#542285 #722FB6 #9150D2 #B081DF #CEB1EB

Accessibility & contrast

On white

4.90
#9150D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9150D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150D2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150D2#FFFFFF#000000##FFFFFF
##9150D21.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#2D71CF
Tritanopia (blue-blind)
#856B8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9150d2;
/* rgb */ color: rgb(145, 80, 210);
/* oklch */ color: oklch(57.0% 0.194 303.9);
Tailwind
colors: {
  custom: {
    50: '#b584e0',
    500: '#9150d2',
    950: '#000000',
  },
}
SCSS
$custom: #9150d2;
$custom-light: #b584e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9150d2",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 270,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56971,
    "c": 0.19425,
    "h": 303.9
  },
  "luminance": 0.1641
}

Semantic roles & 50–950 ramp

primary
#9150D2
secondary
#BFD9A4
accent
#E24694
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9150D2

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

Preview Lab → · Contrast checker → · Palette generator →

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