#915FDF#915FDF

#915FDF is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.0% C 0.188 H 298.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#915FDF
RGBrgb(145, 95, 223)
HSLhsl(263, 67%, 62%)
HSVhsv(263, 57%, 87%)
CMYKcmyk(35%, 57.4%, 0%, 12.5%)
CIE-LABlab(51.30, 46.84, -58.23)
CIE-LCHlch(51.30, 74.73, 308.81°)
OKLaboklab(60% 0.09 -0.1651)
OKLCHoklch(60% 0.188 298.6)
XYZxyz(29.0853, 19.5315, 72.0353)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FDF #ADDF5F
analogous
#5F6DDF #915FDF #D15FDF
triadic
#915FDF #DF915F #5FDF91
tetradic
#915FDF #DF5F6D #ADDF5F #5FDFD1
square
#915FDF #DF5F6D #ADDF5F #5FDFD1
split-complementary
#915FDF #DFD15F #6DDF5F
monochromatic
#5421A3 #6E2CD5 #915FDF #B492E9 #D7C5F3

Accessibility & contrast

On white

4.28
#915FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#915FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915FDF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FDF#FFFFFF#000000##000000
##915FDF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7AE3
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#807A96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #915fdf;
/* rgb */ color: rgb(145, 95, 223);
/* oklch */ color: oklch(60.0% 0.188 298.6);
Tailwind
colors: {
  custom: {
    50: '#b68eea',
    500: '#915fdf',
    950: '#000000',
  },
}
SCSS
$custom: #915fdf;
$custom-light: #b68eea;
$custom-dark: #000000;
JSON
{
  "hex": "#915fdf",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 263.438,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.18807,
    "h": 298.6
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

primary
#915FDF
secondary
#D2E4B6
accent
#CF1787
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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