#915EF2#915EF2

#915EF2 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.212 H 295.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#915EF2
RGBrgb(145, 94, 242)
HSLhsl(261, 85%, 66%)
HSVhsv(261, 61%, 95%)
CMYKcmyk(40.1%, 61.2%, 0%, 5.1%)
CIE-LABlab(52.33, 52.25, -67.26)
CIE-LCHlch(52.33, 85.17, 307.84°)
OKLaboklab(61.14% 0.0905 -0.1917)
OKLCHoklch(61.14% 0.212 295.3)
XYZxyz(31.7025, 20.4353, 86.2613)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915EF2 #BFF25E
analogous
#5E75F2 #915EF2 #DB5EF2
triadic
#915EF2 #F2915E #5EF291
tetradic
#915EF2 #F25E75 #BFF25E #5EF2DB
square
#915EF2 #F25E75 #BFF25E #5EF2DB
split-complementary
#915EF2 #F2DB5E #75F25E
monochromatic
#4F10C6 #6A25ED #915EF2 #B897F7 #DECFFB

Accessibility & contrast

On white

4.13
#915EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#915EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915EF2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915EF2#FFFFFF#000000##000000
##915EF21.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#787F9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #915ef2;
/* rgb */ color: rgb(145, 94, 242);
/* oklch */ color: oklch(61.1% 0.212 295.3);
Tailwind
colors: {
  custom: {
    50: '#b78ef7',
    500: '#915ef2',
    950: '#000000',
  },
}
SCSS
$custom: #915ef2;
$custom-light: #b78ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#915ef2",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 260.676,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.21197,
    "h": 295.3
  },
  "luminance": 0.20436
}

Semantic roles & 50–950 ramp

primary
#915EF2
secondary
#DEEEBD
accent
#E20495
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #915EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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