#B15AF5#B15AF5

#B15AF5 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.2% C 0.226 H 306.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B15AF5
RGBrgb(177, 90, 245)
HSLhsl(274, 89%, 66%)
HSVhsv(274, 63%, 96%)
CMYKcmyk(27.8%, 63.3%, 0%, 3.9%)
CIE-LABlab(55.33, 61.74, -63.90)
CIE-LCHlch(55.33, 88.85, 314.01°)
OKLaboklab(64.17% 0.1359 -0.1808)
OKLCHoklch(64.17% 0.226 306.9)
XYZxyz(38.2656, 23.2524, 88.8408)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15AF5 #9EF55A
analogous
#635AF5 #B15AF5 #F55AEC
triadic
#B15AF5 #F5B15A #5AF5B1
tetradic
#B15AF5 #F5635A #9EF55A #5AECF5
square
#B15AF5 #F5635A #9EF55A #5AECF5
split-complementary
#B15AF5 #ECF55A #5AF563
monochromatic
#760CC8 #9620F2 #B15AF5 #CC94F8 #E8CDFC

Accessibility & contrast

On white

3.72
#B15AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#B15AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15AF5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15AF5#FFFFFF#000000##000000
##B15AF51.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#3985F2
Tritanopia (blue-blind)
#A67AA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b15af5;
/* rgb */ color: rgb(177, 90, 245);
/* oklch */ color: oklch(64.2% 0.226 306.9);
Tailwind
colors: {
  custom: {
    50: '#cd8df9',
    500: '#b15af5',
    950: '#000000',
  },
}
SCSS
$custom: #b15af5;
$custom-light: #cd8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#b15af5",
  "rgb": {
    "r": 177,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 273.677,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64173,
    "c": 0.22618,
    "h": 306.9
  },
  "luminance": 0.23252
}

Semantic roles & 50–950 ramp

primary
#B15AF5
secondary
#D2EFBC
accent
#E50065
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B15AF5

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

Preview Lab → · Contrast checker → · Palette generator →

#B15AF5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva