#915AC8#915AC8

#915AC8 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.168 H 304.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#915AC8
RGBrgb(145, 90, 200)
HSLhsl(270, 50%, 57%)
HSVhsv(270, 55%, 78%)
CMYKcmyk(27.5%, 55%, 0%, 21.6%)
CIE-LABlab(48.89, 43.87, -48.99)
CIE-LCHlch(48.89, 65.76, 311.85°)
OKLaboklab(57.78% 0.0959 -0.138)
OKLCHoklch(57.78% 0.168 304.8)
XYZxyz(25.7563, 17.5023, 56.6538)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915AC8 #91C85A
analogous
#5A5AC8 #915AC8 #C85AC8
triadic
#915AC8 #C8915A #5AC891
tetradic
#915AC8 #C85A5A #91C85A #5AC8C8
square
#915AC8 #C85A5A #91C85A #5AC8C8
split-complementary
#915AC8 #C8C85A #5AC85A
monochromatic
#542A7E #7239AC #915AC8 #B088D7 #CEB6E7

Accessibility & contrast

On white

4.67
#915AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#915AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #915AC8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915AC8#FFFFFF#000000##FFFFFF
##915AC81.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3273CC
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#886F88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #915ac8;
/* rgb */ color: rgb(145, 90, 200);
/* oklch */ color: oklch(57.8% 0.168 304.8);
Tailwind
colors: {
  custom: {
    50: '#b48bd9',
    500: '#915ac8',
    950: '#000000',
  },
}
SCSS
$custom: #915ac8;
$custom-light: #b48bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#915ac8",
  "rgb": {
    "r": 145,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 270,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.16804,
    "h": 304.8
  },
  "luminance": 0.17502
}

Semantic roles & 50–950 ramp

primary
#915AC8
secondary
#BFD5A8
accent
#DA4E94
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #915AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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