#B15FE4#B15FE4

#B15FE4 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.8% C 0.201 H 310.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B15FE4
RGBrgb(177, 95, 228)
HSLhsl(277, 71%, 63%)
HSVhsv(277, 58%, 89%)
CMYKcmyk(22.4%, 58.3%, 0%, 10.6%)
CIE-LABlab(55.21, 55.58, -54.59)
CIE-LCHlch(55.21, 77.90, 315.51°)
OKLaboklab(63.76% 0.1305 -0.1535)
OKLCHoklch(63.76% 0.201 310.4)
XYZxyz(36.2246, 23.1337, 75.9407)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15FE4 #92E45F
analogous
#6E5FE4 #B15FE4 #E45FD5
triadic
#B15FE4 #E4B15F #5FE4B1
tetradic
#B15FE4 #E46E5F #92E45F #5FD5E4
square
#B15FE4 #E46E5F #92E45F #5FD5E4
split-complementary
#B15FE4 #D5E45F #5FE46E
monochromatic
#751DAC #972BDB #B15FE4 #CB93ED #E4C8F6

Accessibility & contrast

On white

3.73
#B15FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B15FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15FE4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15FE4#FFFFFF#000000##000000
##B15FE41.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F80E8
Deuteranopia (green-blind)
#5186E1
Tritanopia (blue-blind)
#AA7899
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b15fe4;
/* rgb */ color: rgb(177, 95, 228);
/* oklch */ color: oklch(63.8% 0.201 310.4);
Tailwind
colors: {
  custom: {
    50: '#cc90ed',
    500: '#b15fe4',
    950: '#000000',
  },
}
SCSS
$custom: #b15fe4;
$custom-light: #cc90ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b15fe4",
  "rgb": {
    "r": 177,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 276.992,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63759,
    "c": 0.20146,
    "h": 310.4
  },
  "luminance": 0.23133
}

Semantic roles & 50–950 ramp

primary
#B15FE4
secondary
#CAE7B8
accent
#D3125C
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B15FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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