#915BFA#915BFA

#915BFA is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.225 H 294.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#915BFA
RGBrgb(145, 91, 250)
HSLhsl(260, 94%, 67%)
HSVhsv(260, 64%, 98%)
CMYKcmyk(42%, 63.6%, 0%, 2%)
CIE-LABlab(52.29, 55.89, -71.77)
CIE-LCHlch(52.29, 90.97, 307.91°)
OKLaboklab(61.29% 0.0931 -0.2049)
OKLCHoklch(61.29% 0.225 294.4)
XYZxyz(32.6688, 20.4032, 92.6409)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BFA #C4FA5B
analogous
#5B75FA #915BFA #E05BFA
triadic
#915BFA #FA915B #5BFA91
tetradic
#915BFA #FA5B75 #C4FA5B #5BFAE0
square
#915BFA #FA5B75 #C4FA5B #5BFAE0
split-complementary
#915BFA #FAE05B #75FA5B
monochromatic
#4C06D4 #6920F8 #915BFA #B996FC #E1D2FE

Accessibility & contrast

On white

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

On black

5.08
#915BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915BFA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BFA#FFFFFF#000000##000000
##915BFA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#7580A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #915bfa;
/* rgb */ color: rgb(145, 91, 250);
/* oklch */ color: oklch(61.3% 0.225 294.4);
Tailwind
colors: {
  custom: {
    50: '#b88cfd',
    500: '#915bfa',
    950: '#000000',
  },
}
SCSS
$custom: #915bfa;
$custom-light: #b88cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#915bfa",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 250
  },
  "hsl": {
    "h": 260.377,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61286,
    "c": 0.22509,
    "h": 294.4
  },
  "luminance": 0.20404
}

Semantic roles & 50–950 ramp

primary
#915BFA
secondary
#E1F2BF
accent
#E60098
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #915BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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