#915AB0#915AB0

#915AB0 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.4% C 0.140 H 312.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#915AB0
RGBrgb(145, 90, 176)
HSLhsl(278, 35%, 52%)
HSVhsv(278, 49%, 69%)
CMYKcmyk(17.6%, 48.9%, 0%, 31%)
CIE-LABlab(47.58, 38.28, -37.14)
CIE-LCHlch(47.58, 53.33, 315.87°)
OKLaboklab(56.39% 0.0938 -0.1035)
OKLCHoklch(56.39% 0.14 312.2)
XYZxyz(23.1683, 16.4672, 43.0239)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915AB0 #79B05A
analogous
#665AB0 #915AB0 #B05AA4
triadic
#915AB0 #B0915A #5AB091
tetradic
#915AB0 #B0665A #79B05A #5AA4B0
square
#915AB0 #B0665A #79B05A #5AA4B0
split-complementary
#915AB0 #A4B05A #5AB066
monochromatic
#4F2E61 #70428A #915AB0 #AD83C4 #C8ADD8

Accessibility & contrast

On white

4.89
#915AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#915AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915AB0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915AB0#FFFFFF#000000##FFFFFF
##915AB01.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466EB3
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#8E687D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #915ab0;
/* rgb */ color: rgb(145, 90, 176);
/* oklch */ color: oklch(56.4% 0.140 312.2);
Tailwind
colors: {
  custom: {
    50: '#b38ac8',
    500: '#915ab0',
    950: '#000000',
  },
}
SCSS
$custom: #915ab0;
$custom-light: #b38ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#915ab0",
  "rgb": {
    "r": 145,
    "g": 90,
    "b": 176
  },
  "hsl": {
    "h": 278.372,
    "s": 35.246,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56394,
    "c": 0.13965,
    "h": 312.2
  },
  "luminance": 0.16467
}

Semantic roles & 50–950 ramp

primary
#915AB0
secondary
#AEC6A0
accent
#CB5D84
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #915AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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