#9151BE#9151BE

#9151BE is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.170 H 309.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9151BE
RGBrgb(145, 81, 190)
HSLhsl(275, 46%, 53%)
HSVhsv(275, 57%, 75%)
CMYKcmyk(23.7%, 57.4%, 0%, 25.5%)
CIE-LABlab(46.48, 46.35, -47.06)
CIE-LCHlch(46.48, 66.05, 314.57°)
OKLaboklab(55.83% 0.1072 -0.1323)
OKLCHoklch(55.83% 0.17 309)
XYZxyz(23.9119, 15.6227, 50.4610)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151BE #7EBE51
analogous
#5A51BE #9151BE #BE51B5
triadic
#9151BE #BE9151 #51BE91
tetradic
#9151BE #BE5A51 #7EBE51 #51B5BE
square
#9151BE #BE5A51 #7EBE51 #51B5BE
split-complementary
#9151BE #B5BE51 #51BE5A
monochromatic
#50286C #713999 #9151BE #AD7ECF #C9AADF

Accessibility & contrast

On white

5.09
#9151BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9151BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151BE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151BE#FFFFFF#000000##FFFFFF
##9151BE1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#8B6580
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9151be;
/* rgb */ color: rgb(145, 81, 190);
/* oklch */ color: oklch(55.8% 0.170 309.0);
Tailwind
colors: {
  custom: {
    50: '#b485d2',
    500: '#9151be',
    950: '#000000',
  },
}
SCSS
$custom: #9151be;
$custom-light: #b485d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9151be",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 275.229,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55825,
    "c": 0.17032,
    "h": 309
  },
  "luminance": 0.15622
}

Semantic roles & 50–950 ramp

primary
#9151BE
secondary
#B1CD9E
accent
#D55389
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9151BE

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

Preview Lab → · Contrast checker → · Palette generator →

#9151BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva