#915FE0#915FE0

#915FE0 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.1% C 0.189 H 298.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#915FE0
RGBrgb(145, 95, 224)
HSLhsl(263, 68%, 63%)
HSVhsv(263, 58%, 88%)
CMYKcmyk(35.3%, 57.6%, 0%, 12.2%)
CIE-LABlab(51.37, 47.09, -58.70)
CIE-LCHlch(51.37, 75.25, 308.74°)
OKLaboklab(60.07% 0.09 -0.1665)
OKLCHoklch(60.07% 0.189 298.4)
XYZxyz(29.2205, 19.5856, 72.7475)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FE0 #AEE05F
analogous
#5F6DE0 #915FE0 #D25FE0
triadic
#915FE0 #E0915F #5FE091
tetradic
#915FE0 #E05F6D #AEE05F #5FE0D2
square
#915FE0 #E05F6D #AEE05F #5FE0D2
split-complementary
#915FE0 #E0D25F #6DE05F
monochromatic
#5320A5 #6E2CD6 #915FE0 #B492EA #D7C6F4

Accessibility & contrast

On white

4.27
#915FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#915FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915FE0
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FE0#FFFFFF#000000##000000
##915FE01.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7BE4
Deuteranopia (green-blind)
#3379DD
Tritanopia (blue-blind)
#7F7A96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #915fe0;
/* rgb */ color: rgb(145, 95, 224);
/* oklch */ color: oklch(60.1% 0.189 298.4);
Tailwind
colors: {
  custom: {
    50: '#b68eea',
    500: '#915fe0',
    950: '#000000',
  },
}
SCSS
$custom: #915fe0;
$custom-light: #b68eea;
$custom-dark: #000000;
JSON
{
  "hex": "#915fe0",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 263.256,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60067,
    "c": 0.18927,
    "h": 298.4
  },
  "luminance": 0.19586
}

Semantic roles & 50–950 ramp

primary
#915FE0
secondary
#D3E5B6
accent
#CF1688
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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