#915FE4#915FE4

#915FE4 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.194 H 297.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#915FE4
RGBrgb(145, 95, 228)
HSLhsl(263, 71%, 63%)
HSVhsv(263, 58%, 89%)
CMYKcmyk(36.4%, 58.3%, 0%, 10.6%)
CIE-LABlab(51.62, 48.11, -60.55)
CIE-LCHlch(51.62, 77.33, 308.47°)
OKLaboklab(60.33% 0.09 -0.1719)
OKLCHoklch(60.33% 0.194 297.6)
XYZxyz(29.7693, 19.8052, 75.6381)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FE4 #B2E45F
analogous
#5F6FE4 #915FE4 #D35FE4
triadic
#915FE4 #E4915F #5FE491
tetradic
#915FE4 #E45F6F #B2E45F #5FE4D3
square
#915FE4 #E45F6F #B2E45F #5FE4D3
split-complementary
#915FE4 #E4D35F #6FE45F
monochromatic
#531DAC #6D2BDB #915FE4 #B593ED #D9C8F6

Accessibility & contrast

On white

4.23
#915FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#915FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915FE4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FE4#FFFFFF#000000##000000
##915FE41.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7BE8
Deuteranopia (green-blind)
#2C7AE1
Tritanopia (blue-blind)
#7E7B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #915fe4;
/* rgb */ color: rgb(145, 95, 228);
/* oklch */ color: oklch(60.3% 0.194 297.6);
Tailwind
colors: {
  custom: {
    50: '#b68eed',
    500: '#915fe4',
    950: '#000000',
  },
}
SCSS
$custom: #915fe4;
$custom-light: #b68eed;
$custom-dark: #000000;
JSON
{
  "hex": "#915fe4",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 262.556,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60331,
    "c": 0.19406,
    "h": 297.6
  },
  "luminance": 0.19806
}

Semantic roles & 50–950 ramp

primary
#915FE4
secondary
#D5E7B8
accent
#D3128B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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