#915AC7#915AC7

#915AC7 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.167 H 305.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#915AC7
RGBrgb(145, 90, 199)
HSLhsl(270, 49%, 57%)
HSVhsv(270, 55%, 78%)
CMYKcmyk(27.1%, 54.8%, 0%, 22%)
CIE-LABlab(48.83, 43.63, -48.50)
CIE-LCHlch(48.83, 65.24, 311.97°)
OKLaboklab(57.72% 0.0958 -0.1366)
OKLCHoklch(57.72% 0.167 305)
XYZxyz(25.6398, 17.4557, 56.0403)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915AC7 #90C75A
analogous
#5B5AC7 #915AC7 #C75AC7
triadic
#915AC7 #C7915A #5AC791
tetradic
#915AC7 #C75B5A #90C75A #5AC7C7
square
#915AC7 #C75B5A #90C75A #5AC7C7
split-complementary
#915AC7 #C7C75A #5AC75B
monochromatic
#542A7C #723AAA #915AC7 #AF88D7 #CEB5E6

Accessibility & contrast

On white

4.68
#915AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#915AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915AC7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915AC7#FFFFFF#000000##FFFFFF
##915AC71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3472CB
Deuteranopia (green-blind)
#4674C4
Tritanopia (blue-blind)
#886E88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #915ac7;
/* rgb */ color: rgb(145, 90, 199);
/* oklch */ color: oklch(57.7% 0.167 305.0);
Tailwind
colors: {
  custom: {
    50: '#b48bd8',
    500: '#915ac7',
    950: '#000000',
  },
}
SCSS
$custom: #915ac7;
$custom-light: #b48bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#915ac7",
  "rgb": {
    "r": 145,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 270.275,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.16685,
    "h": 305
  },
  "luminance": 0.17456
}

Semantic roles & 50–950 ramp

primary
#915AC7
secondary
#BED5A8
accent
#D94F93
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #915AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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