#915FF2#915FF2

#915FF2 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.3% C 0.211 H 295.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#915FF2
RGBrgb(145, 95, 242)
HSLhsl(260, 85%, 66%)
HSVhsv(260, 61%, 95%)
CMYKcmyk(40.1%, 60.7%, 0%, 5.1%)
CIE-LABlab(52.52, 51.71, -66.94)
CIE-LCHlch(52.52, 84.59, 307.69°)
OKLaboklab(61.28% 0.0894 -0.1907)
OKLCHoklch(61.28% 0.211 295.1)
XYZxyz(31.7920, 20.6143, 86.2911)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FF2 #C0F25F
analogous
#5F76F2 #915FF2 #DA5FF2
triadic
#915FF2 #F2915F #5FF291
tetradic
#915FF2 #F25F76 #C0F25F #5FF2DA
square
#915FF2 #F25F76 #C0F25F #5FF2DA
split-complementary
#915FF2 #F2DA5F #76F25F
monochromatic
#4E10C6 #6A26ED #915FF2 #B898F7 #DFD0FB

Accessibility & contrast

On white

4.10
#915FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#915FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915FF2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FF2#FFFFFF#000000##000000
##915FF21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#7880A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #915ff2;
/* rgb */ color: rgb(145, 95, 242);
/* oklch */ color: oklch(61.3% 0.211 295.1);
Tailwind
colors: {
  custom: {
    50: '#b78ff7',
    500: '#915ff2',
    950: '#000000',
  },
}
SCSS
$custom: #915ff2;
$custom-light: #b78ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#915ff2",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 260.408,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61283,
    "c": 0.21064,
    "h": 295.1
  },
  "luminance": 0.20615
}

Semantic roles & 50–950 ramp

primary
#915FF2
secondary
#DEEFBE
accent
#E10496
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #915FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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