#915BEF#915BEF

#915BEF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.212 H 296.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#915BEF
RGBrgb(145, 91, 239)
HSLhsl(262, 82%, 65%)
HSVhsv(262, 62%, 94%)
CMYKcmyk(39.3%, 61.9%, 0%, 6.3%)
CIE-LABlab(51.53, 53.06, -66.86)
CIE-LCHlch(51.53, 85.35, 308.43°)
OKLaboklab(60.5% 0.094 -0.1905)
OKLCHoklch(60.5% 0.212 296.3)
XYZxyz(30.9941, 19.7333, 83.8206)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BEF #B9EF5B
analogous
#5B6FEF #915BEF #DB5BEF
triadic
#915BEF #EF915B #5BEF91
tetradic
#915BEF #EF5B6F #B9EF5B #5BEFDB
square
#915BEF #EF5B6F #B9EF5B #5BEFDB
split-complementary
#915BEF #EFDB5B #6FEF5B
monochromatic
#5112BD #6C23EA #915BEF #B693F4 #DCCBFA

Accessibility & contrast

On white

4.25
#915BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#915BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915BEF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BEF#FFFFFF#000000##000000
##915BEF1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#7A7C9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #915bef;
/* rgb */ color: rgb(145, 91, 239);
/* oklch */ color: oklch(60.5% 0.212 296.3);
Tailwind
colors: {
  custom: {
    50: '#b78cf5',
    500: '#915bef',
    950: '#000000',
  },
}
SCSS
$custom: #915bef;
$custom-light: #b78cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#915bef",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 261.892,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.605,
    "c": 0.21243,
    "h": 296.3
  },
  "luminance": 0.19734
}

Semantic roles & 50–950 ramp

primary
#915BEF
secondary
#DAECBA
accent
#DF0790
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #915BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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