#915FE1#915FE1

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

Color values

HEX#915FE1
RGBrgb(145, 95, 225)
HSLhsl(263, 68%, 63%)
HSVhsv(263, 58%, 88%)
CMYKcmyk(35.6%, 57.8%, 0%, 11.8%)
CIE-LABlab(51.43, 47.34, -59.16)
CIE-LCHlch(51.43, 75.77, 308.67°)
OKLaboklab(60.13% 0.09 -0.1679)
OKLCHoklch(60.13% 0.19 298.2)
XYZxyz(29.3565, 19.6400, 73.4638)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FE1 #AFE15F
analogous
#5F6EE1 #915FE1 #D25FE1
triadic
#915FE1 #E1915F #5FE191
tetradic
#915FE1 #E15F6E #AFE15F #5FE1D2
square
#915FE1 #E15F6E #AFE15F #5FE1D2
split-complementary
#915FE1 #E1D25F #6EE15F
monochromatic
#531FA6 #6E2BD7 #915FE1 #B493EB #D8C6F4

Accessibility & contrast

On white

4.26
#915FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#915FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915FE1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FE1#FFFFFF#000000##000000
##915FE11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#187BE5
Deuteranopia (green-blind)
#3179DE
Tritanopia (blue-blind)
#7F7A97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #915fe1;
/* rgb */ color: rgb(145, 95, 225);
/* oklch */ color: oklch(60.1% 0.190 298.2);
Tailwind
colors: {
  custom: {
    50: '#b68eeb',
    500: '#915fe1',
    950: '#000000',
  },
}
SCSS
$custom: #915fe1;
$custom-light: #b68eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#915fe1",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 263.077,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60133,
    "c": 0.19047,
    "h": 298.2
  },
  "luminance": 0.1964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #915FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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