#915EB2#915EB2

#915EB2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.2% C 0.135 H 310.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#915EB2
RGBrgb(145, 94, 178)
HSLhsl(276, 35%, 53%)
HSVhsv(276, 47%, 70%)
CMYKcmyk(18.5%, 47.2%, 0%, 30.2%)
CIE-LABlab(48.56, 36.49, -36.76)
CIE-LCHlch(48.56, 51.80, 314.79°)
OKLaboklab(57.16% 0.0883 -0.1024)
OKLCHoklch(57.16% 0.135 310.8)
XYZxyz(23.7142, 17.2399, 44.1892)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915EB2 #7FB25E
analogous
#675EB2 #915EB2 #B25EA9
triadic
#915EB2 #B2915E #5EB291
tetradic
#915EB2 #B2675E #7FB25E #5EA9B2
square
#915EB2 #B2675E #7FB25E #5EA9B2
split-complementary
#915EB2 #A9B25E #5EB267
monochromatic
#503065 #71448F #915EB2 #AD87C6 #CAB1DA

Accessibility & contrast

On white

4.72
#915EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#915EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915EB2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915EB2#FFFFFF#000000##FFFFFF
##915EB21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#5974B0
Tritanopia (blue-blind)
#8D6B7F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #915eb2;
/* rgb */ color: rgb(145, 94, 178);
/* oklch */ color: oklch(57.2% 0.135 310.8);
Tailwind
colors: {
  custom: {
    50: '#b38dc9',
    500: '#915eb2',
    950: '#000000',
  },
}
SCSS
$custom: #915eb2;
$custom-light: #b38dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#915eb2",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 276.429,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57156,
    "c": 0.13521,
    "h": 310.8
  },
  "luminance": 0.1724
}

Semantic roles & 50–950 ramp

primary
#915EB2
secondary
#B2C8A4
accent
#CB5C88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #915EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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