#915AE3#915AE3

#915AE3 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.200 H 298.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#915AE3
RGBrgb(145, 90, 227)
HSLhsl(264, 71%, 62%)
HSVhsv(264, 60%, 89%)
CMYKcmyk(36.1%, 60.4%, 0%, 11%)
CIE-LABlab(50.54, 50.53, -61.71)
CIE-LCHlch(50.54, 79.76, 309.31°)
OKLaboklab(59.53% 0.0958 -0.1754)
OKLCHoklch(59.53% 0.2 298.6)
XYZxyz(29.1949, 18.8778, 74.7638)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915AE3 #ACE35A
analogous
#5A67E3 #915AE3 #D65AE3
triadic
#915AE3 #E3915A #5AE391
tetradic
#915AE3 #E35A67 #ACE35A #5AE3D6
square
#915AE3 #E35A67 #ACE35A #5AE3D6
split-complementary
#915AE3 #E3D65A #67E35A
monochromatic
#541CA6 #6E26DA #915AE3 #B48EEC #D7C3F5

Accessibility & contrast

On white

4.40
#915AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#915AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915AE3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915AE3#FFFFFF#000000##000000
##915AE31.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#2377E0
Tritanopia (blue-blind)
#7E7896
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #915ae3;
/* rgb */ color: rgb(145, 90, 227);
/* oklch */ color: oklch(59.5% 0.200 298.6);
Tailwind
colors: {
  custom: {
    50: '#b68bed',
    500: '#915ae3',
    950: '#000000',
  },
}
SCSS
$custom: #915ae3;
$custom-light: #b68bed;
$custom-dark: #000000;
JSON
{
  "hex": "#915ae3",
  "rgb": {
    "r": 145,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 264.088,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59528,
    "c": 0.19982,
    "h": 298.6
  },
  "luminance": 0.18878
}

Semantic roles & 50–950 ramp

primary
#915AE3
secondary
#D1E6B3
accent
#D31286
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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