#915EF7#915EF7

#915EF7 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.218 H 294.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#915EF7
RGBrgb(145, 94, 247)
HSLhsl(260, 91%, 67%)
HSVhsv(260, 62%, 97%)
CMYKcmyk(41.3%, 61.9%, 0%, 3.1%)
CIE-LABlab(52.66, 53.54, -69.50)
CIE-LCHlch(52.66, 87.73, 307.61°)
OKLaboklab(61.49% 0.0902 -0.1983)
OKLCHoklch(61.49% 0.218 294.5)
XYZxyz(32.4638, 20.7398, 90.2704)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915EF7 #C4F75E
analogous
#5E78F7 #915EF7 #DE5EF7
triadic
#915EF7 #F7915E #5EF791
tetradic
#915EF7 #F75E78 #C4F75E #5EF7DE
square
#915EF7 #F75E78 #C4F75E #5EF7DE
split-complementary
#915EF7 #F7DE5E #78F75E
monochromatic
#4C0AD0 #6924F4 #915EF7 #B998FA #E1D3FD

Accessibility & contrast

On white

4.08
#915EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#915EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915EF7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915EF7#FFFFFF#000000##000000
##915EF71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#7681A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #915ef7;
/* rgb */ color: rgb(145, 94, 247);
/* oklch */ color: oklch(61.5% 0.218 294.5);
Tailwind
colors: {
  custom: {
    50: '#b88efb',
    500: '#915ef7',
    950: '#000000',
  },
}
SCSS
$custom: #915ef7;
$custom-light: #b88efb;
$custom-dark: #000000;
JSON
{
  "hex": "#915ef7",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 260,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61491,
    "c": 0.21781,
    "h": 294.5
  },
  "luminance": 0.20741
}

Semantic roles & 50–950 ramp

primary
#915EF7
secondary
#E1F1C0
accent
#E60099
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #915EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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