#915BE3#915BE3

#915BE3 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.198 H 298.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#915BE3
RGBrgb(145, 91, 227)
HSLhsl(264, 71%, 62%)
HSVhsv(264, 60%, 89%)
CMYKcmyk(36.1%, 59.9%, 0%, 11%)
CIE-LABlab(50.74, 50.00, -61.39)
CIE-LCHlch(50.74, 79.18, 309.16°)
OKLaboklab(59.67% 0.0947 -0.1744)
OKLCHoklch(59.67% 0.198 298.5)
XYZxyz(29.2798, 19.0476, 74.7921)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BE3 #ADE35B
analogous
#5B69E3 #915BE3 #D55BE3
triadic
#915BE3 #E3915B #5BE391
tetradic
#915BE3 #E35B69 #ADE35B #5BE3D5
square
#915BE3 #E35B69 #ADE35B #5BE3D5
split-complementary
#915BE3 #E3D55B #69E35B
monochromatic
#541DA7 #6E27DA #915BE3 #B48FEC #D7C4F5

Accessibility & contrast

On white

4.37
#915BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#915BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915BE3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BE3#FFFFFF#000000##000000
##915BE31.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#2577E0
Tritanopia (blue-blind)
#7E7896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #915be3;
/* rgb */ color: rgb(145, 91, 227);
/* oklch */ color: oklch(59.7% 0.198 298.5);
Tailwind
colors: {
  custom: {
    50: '#b68ced',
    500: '#915be3',
    950: '#000000',
  },
}
SCSS
$custom: #915be3;
$custom-light: #b68ced;
$custom-dark: #000000;
JSON
{
  "hex": "#915be3",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 263.824,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59673,
    "c": 0.19845,
    "h": 298.5
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#915BE3
secondary
#D2E6B4
accent
#D31387
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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