#B15AF7#B15AF7

#B15AF7 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.3% C 0.228 H 306.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B15AF7
RGBrgb(177, 90, 247)
HSLhsl(273, 91%, 66%)
HSVhsv(273, 64%, 97%)
CMYKcmyk(28.3%, 63.6%, 0%, 3.1%)
CIE-LABlab(55.46, 62.18, -64.81)
CIE-LCHlch(55.46, 89.82, 313.81°)
OKLaboklab(64.3% 0.1358 -0.1835)
OKLCHoklch(64.3% 0.228 306.5)
XYZxyz(38.5725, 23.3752, 90.4575)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15AF7 #A0F75A
analogous
#625AF7 #B15AF7 #F75AEF
triadic
#B15AF7 #F7B15A #5AF7B1
tetradic
#B15AF7 #F7625A #A0F75A #5AEFF7
square
#B15AF7 #F7625A #A0F75A #5AEFF7
split-complementary
#B15AF7 #EFF75A #5AF762
monochromatic
#760ACD #9520F4 #B15AF7 #CD94FA #E8CFFD

Accessibility & contrast

On white

3.70
#B15AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B15AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15AF7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15AF7#FFFFFF#000000##000000
##B15AF71.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#3685F3
Tritanopia (blue-blind)
#A57BA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b15af7;
/* rgb */ color: rgb(177, 90, 247);
/* oklch */ color: oklch(64.3% 0.228 306.5);
Tailwind
colors: {
  custom: {
    50: '#cd8efb',
    500: '#b15af7',
    950: '#000000',
  },
}
SCSS
$custom: #b15af7;
$custom-light: #cd8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b15af7",
  "rgb": {
    "r": 177,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 273.248,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64303,
    "c": 0.22825,
    "h": 306.5
  },
  "luminance": 0.23375
}

Semantic roles & 50–950 ramp

primary
#B15AF7
secondary
#D4F0BD
accent
#E60066
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B15AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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