#915EC9#915EC9

#915EC9 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.163 H 303.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#915EC9
RGBrgb(145, 94, 201)
HSLhsl(269, 50%, 58%)
HSVhsv(269, 53%, 79%)
CMYKcmyk(27.9%, 53.2%, 0%, 21.2%)
CIE-LABlab(49.79, 41.92, -48.12)
CIE-LCHlch(49.79, 63.82, 311.06°)
OKLaboklab(58.47% 0.0907 -0.1355)
OKLCHoklch(58.47% 0.163 303.8)
XYZxyz(26.2201, 18.2423, 57.3868)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915EC9 #96C95E
analogous
#5E61C9 #915EC9 #C65EC9
triadic
#915EC9 #C9915E #5EC991
tetradic
#915EC9 #C95E61 #96C95E #5EC9C6
square
#915EC9 #C95E61 #96C95E #5EC9C6
split-complementary
#915EC9 #C9C65E #61C95E
monochromatic
#542B81 #723BAF #915EC9 #B08CD8 #D0BAE8

Accessibility & contrast

On white

4.52
#915EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#915EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915EC9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915EC9#FFFFFF#000000##000000
##915EC91.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3975CD
Deuteranopia (green-blind)
#4976C6
Tritanopia (blue-blind)
#87728B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #915ec9;
/* rgb */ color: rgb(145, 94, 201);
/* oklch */ color: oklch(58.5% 0.163 303.8);
Tailwind
colors: {
  custom: {
    50: '#b48dda',
    500: '#915ec9',
    950: '#000000',
  },
}
SCSS
$custom: #915ec9;
$custom-light: #b48dda;
$custom-dark: #000000;
JSON
{
  "hex": "#915ec9",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 268.598,
    "s": 49.767,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58467,
    "c": 0.16303,
    "h": 303.8
  },
  "luminance": 0.18242
}

Semantic roles & 50–950 ramp

primary
#915EC9
secondary
#C2D7AC
accent
#D94F97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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