#915AEC#915AEC

#915AEC is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.210 H 297.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#915AEC
RGBrgb(145, 90, 236)
HSLhsl(263, 79%, 64%)
HSVhsv(263, 62%, 93%)
CMYKcmyk(38.6%, 61.9%, 0%, 7.5%)
CIE-LABlab(51.14, 52.81, -65.82)
CIE-LCHlch(51.14, 84.39, 308.74°)
OKLaboklab(60.15% 0.0953 -0.1874)
OKLCHoklch(60.15% 0.21 297)
XYZxyz(30.4697, 19.3877, 81.4775)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915AEC #B5EC5A
analogous
#5A6CEC #915AEC #DA5AEC
triadic
#915AEC #EC915A #5AEC91
tetradic
#915AEC #EC5A6C #B5EC5A #5AECDA
square
#915AEC #EC5A6C #B5EC5A #5AECDA
split-complementary
#915AEC #ECDA5A #6CEC5A
monochromatic
#5215B7 #6C23E6 #915AEC #B691F2 #DAC8F9

Accessibility & contrast

On white

4.31
#915AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#915AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915AEC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915AEC#FFFFFF#000000##000000
##915AEC1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0378E9
Tritanopia (blue-blind)
#7B7B9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #915aec;
/* rgb */ color: rgb(145, 90, 236);
/* oklch */ color: oklch(60.1% 0.210 297.0);
Tailwind
colors: {
  custom: {
    50: '#b78bf3',
    500: '#915aec',
    950: '#000000',
  },
}
SCSS
$custom: #915aec;
$custom-light: #b78bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#915aec",
  "rgb": {
    "r": 145,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 262.603,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60148,
    "c": 0.21028,
    "h": 297
  },
  "luminance": 0.19388
}

Semantic roles & 50–950 ramp

primary
#915AEC
secondary
#D7EBB7
accent
#DC0A8D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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