#915FE8#915FE8

#915FE8 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.6% C 0.199 H 296.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#915FE8
RGBrgb(145, 95, 232)
HSLhsl(262, 75%, 64%)
HSVhsv(262, 59%, 91%)
CMYKcmyk(37.5%, 59.1%, 0%, 9%)
CIE-LABlab(51.87, 49.13, -62.39)
CIE-LCHlch(51.87, 79.41, 308.22°)
OKLaboklab(60.6% 0.0899 -0.1774)
OKLCHoklch(60.6% 0.199 296.9)
XYZxyz(30.3310, 20.0299, 78.5964)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FE8 #B6E85F
analogous
#5F72E8 #915FE8 #D65FE8
triadic
#915FE8 #E8915F #5FE891
tetradic
#915FE8 #E85F72 #B6E85F #5FE8D6
square
#915FE8 #E85F72 #B6E85F #5FE8D6
split-complementary
#915FE8 #E8D65F #72E85F
monochromatic
#521AB3 #6C29E0 #915FE8 #B695F0 #DBCAF7

Accessibility & contrast

On white

4.19
#915FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#915FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915FE8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FE8#FFFFFF#000000##000000
##915FE81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#257AE5
Tritanopia (blue-blind)
#7C7D9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #915fe8;
/* rgb */ color: rgb(145, 95, 232);
/* oklch */ color: oklch(60.6% 0.199 296.9);
Tailwind
colors: {
  custom: {
    50: '#b68ef0',
    500: '#915fe8',
    950: '#000000',
  },
}
SCSS
$custom: #915fe8;
$custom-light: #b68ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#915fe8",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 261.898,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60598,
    "c": 0.19883,
    "h": 296.9
  },
  "luminance": 0.2003
}

Semantic roles & 50–950 ramp

primary
#915FE8
secondary
#D8E9BA
accent
#D70E8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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