#915FBC#915FBC

#915FBC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.146 H 307.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#915FBC
RGBrgb(145, 95, 188)
HSLhsl(272, 41%, 55%)
HSVhsv(272, 49%, 74%)
CMYKcmyk(22.9%, 49.5%, 0%, 26.3%)
CIE-LABlab(49.30, 38.25, -41.41)
CIE-LCHlch(49.30, 56.37, 312.72°)
OKLaboklab(57.87% 0.0882 -0.1159)
OKLCHoklch(57.87% 0.146 307.3)
XYZxyz(24.8445, 17.8353, 49.7009)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FBC #8ABC5F
analogous
#625FBC #915FBC #BC5FB8
triadic
#915FBC #BC915F #5FBC91
tetradic
#915FBC #BC625F #8ABC5F #5FB8BC
square
#915FBC #BC625F #8ABC5F #5FB8BC
split-complementary
#915FBC #B8BC5F #5FBC62
monochromatic
#532F71 #72419C #915FBC #AF8ACE #CCB5E0

Accessibility & contrast

On white

4.60
#915FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#915FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #915FBC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FBC#FFFFFF#000000##FFFFFF
##915FBC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BF
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#8B6F85
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #915fbc;
/* rgb */ color: rgb(145, 95, 188);
/* oklch */ color: oklch(57.9% 0.146 307.3);
Tailwind
colors: {
  custom: {
    50: '#b38ed0',
    500: '#915fbc',
    950: '#000000',
  },
}
SCSS
$custom: #915fbc;
$custom-light: #b38ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#915fbc",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 272.258,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57871,
    "c": 0.14563,
    "h": 307.3
  },
  "luminance": 0.17835
}

Semantic roles & 50–950 ramp

primary
#915FBC
secondary
#BACFA8
accent
#D1578F
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #915FBC

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

Preview Lab → · Contrast checker → · Palette generator →

#915FBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva