#915BB2#915BB2

#915BB2 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.140 H 311.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#915BB2
RGBrgb(145, 91, 178)
HSLhsl(277, 36%, 53%)
HSVhsv(277, 49%, 70%)
CMYKcmyk(18.5%, 48.9%, 0%, 30.2%)
CIE-LABlab(47.90, 38.17, -37.80)
CIE-LCHlch(47.90, 53.72, 315.28°)
OKLaboklab(56.67% 0.0926 -0.1054)
OKLCHoklch(56.67% 0.14 311.3)
XYZxyz(23.4526, 16.7167, 44.1020)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BB2 #7CB25B
analogous
#655BB2 #915BB2 #B25BA8
triadic
#915BB2 #B2915B #5BB291
tetradic
#915BB2 #B2655B #7CB25B #5BA8B2
square
#915BB2 #B2655B #7CB25B #5BA8B2
split-complementary
#915BB2 #A8B25B #5BB265
monochromatic
#502F64 #71428D #915BB2 #AD85C6 #C9AED9

Accessibility & contrast

On white

4.84
#915BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#915BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915BB2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BB2#FFFFFF#000000##FFFFFF
##915BB21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#8D697E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #915bb2;
/* rgb */ color: rgb(145, 91, 178);
/* oklch */ color: oklch(56.7% 0.140 311.3);
Tailwind
colors: {
  custom: {
    50: '#b38bc9',
    500: '#915bb2',
    950: '#000000',
  },
}
SCSS
$custom: #915bb2;
$custom-light: #b38bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#915bb2",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 277.241,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56665,
    "c": 0.14031,
    "h": 311.3
  },
  "luminance": 0.16716
}

Semantic roles & 50–950 ramp

primary
#915BB2
secondary
#B0C7A2
accent
#CC5C86
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #915BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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