#915FEB#915FEB

#915FEB is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.202 H 296.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#915FEB
RGBrgb(145, 95, 235)
HSLhsl(261, 78%, 65%)
HSVhsv(261, 60%, 92%)
CMYKcmyk(38.3%, 59.6%, 0%, 7.8%)
CIE-LABlab(52.06, 49.90, -63.76)
CIE-LCHlch(52.06, 80.97, 308.05°)
OKLaboklab(60.8% 0.0898 -0.1814)
OKLCHoklch(60.8% 0.202 296.3)
XYZxyz(30.7608, 20.2018, 80.8598)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FEB #B9EB5F
analogous
#5F73EB #915FEB #D75FEB
triadic
#915FEB #EB915F #5FEB91
tetradic
#915FEB #EB5F73 #B9EB5F #5FEBD7
square
#915FEB #EB5F73 #B9EB5F #5FEBD7
split-complementary
#915FEB #EBD75F #73EB5F
monochromatic
#5117B9 #6C29E4 #915FEB #B695F2 #DCCCF9

Accessibility & contrast

On white

4.17
#915FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#915FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915FEB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FEB#FFFFFF#000000##000000
##915FEB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#1E7AE8
Tritanopia (blue-blind)
#7B7E9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #915feb;
/* rgb */ color: rgb(145, 95, 235);
/* oklch */ color: oklch(60.8% 0.202 296.3);
Tailwind
colors: {
  custom: {
    50: '#b78ef2',
    500: '#915feb',
    950: '#000000',
  },
}
SCSS
$custom: #915feb;
$custom-light: #b78ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#915feb",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 261.429,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.20238,
    "h": 296.3
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#915FEB
secondary
#DAEBBB
accent
#DA0B90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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