#915EC7#915EC7

#915EC7 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.161 H 304.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#915EC7
RGBrgb(145, 94, 199)
HSLhsl(269, 48%, 57%)
HSVhsv(269, 53%, 78%)
CMYKcmyk(27.1%, 52.8%, 0%, 22%)
CIE-LABlab(49.68, 41.43, -47.15)
CIE-LCHlch(49.68, 62.77, 311.30°)
OKLaboklab(58.35% 0.0905 -0.1327)
OKLCHoklch(58.35% 0.161 304.3)
XYZxyz(25.9863, 18.1488, 56.1558)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915EC7 #94C75E
analogous
#5E5FC7 #915EC7 #C65EC7
triadic
#915EC7 #C7915E #5EC791
tetradic
#915EC7 #C75E5F #94C75E #5EC7C6
square
#915EC7 #C75E5F #94C75E #5EC7C6
split-complementary
#915EC7 #C7C65E #5FC75E
monochromatic
#542C7F #723CAC #915EC7 #B08BD7 #CFB9E7

Accessibility & contrast

On white

4.54
#915EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#915EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915EC7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915EC7#FFFFFF#000000##000000
##915EC71.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CB
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#88718A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #915ec7;
/* rgb */ color: rgb(145, 94, 199);
/* oklch */ color: oklch(58.3% 0.161 304.3);
Tailwind
colors: {
  custom: {
    50: '#b48dd8',
    500: '#915ec7',
    950: '#000000',
  },
}
SCSS
$custom: #915ec7;
$custom-light: #b48dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#915ec7",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 269.143,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58347,
    "c": 0.16061,
    "h": 304.3
  },
  "luminance": 0.18149
}

Semantic roles & 50–950 ramp

primary
#915EC7
secondary
#C1D6AB
accent
#D85096
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #915EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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