#915FE7#915FE7

#915FE7 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.5% C 0.198 H 297.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#915FE7
RGBrgb(145, 95, 231)
HSLhsl(262, 74%, 64%)
HSVhsv(262, 59%, 91%)
CMYKcmyk(37.2%, 58.9%, 0%, 9.4%)
CIE-LABlab(51.81, 48.88, -61.93)
CIE-LCHlch(51.81, 78.89, 308.28°)
OKLaboklab(60.53% 0.0899 -0.176)
OKLCHoklch(60.53% 0.198 297.1)
XYZxyz(30.1894, 19.9732, 77.8505)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FE7 #B5E75F
analogous
#5F71E7 #915FE7 #D55FE7
triadic
#915FE7 #E7915F #5FE791
tetradic
#915FE7 #E75F71 #B5E75F #5FE7D5
square
#915FE7 #E75F71 #B5E75F #5FE7D5
split-complementary
#915FE7 #E7D55F #71E75F
monochromatic
#521BB1 #6C2ADF #915FE7 #B694EF #DAC9F7

Accessibility & contrast

On white

4.20
#915FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#915FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915FE7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FE7#FFFFFF#000000##000000
##915FE71.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#277AE4
Tritanopia (blue-blind)
#7D7C9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #915fe7;
/* rgb */ color: rgb(145, 95, 231);
/* oklch */ color: oklch(60.5% 0.198 297.1);
Tailwind
colors: {
  custom: {
    50: '#b68eef',
    500: '#915fe7',
    950: '#000000',
  },
}
SCSS
$custom: #915fe7;
$custom-light: #b68eef;
$custom-dark: #000000;
JSON
{
  "hex": "#915fe7",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 262.059,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60531,
    "c": 0.19764,
    "h": 297.1
  },
  "luminance": 0.19974
}

Semantic roles & 50–950 ramp

primary
#915FE7
secondary
#D7E9B9
accent
#D60F8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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