#B15FDF#B15FDF

#B15FDF is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.5% C 0.196 H 311.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B15FDF
RGBrgb(177, 95, 223)
HSLhsl(278, 67%, 62%)
HSVhsv(278, 57%, 87%)
CMYKcmyk(20.6%, 57.4%, 0%, 12.5%)
CIE-LABlab(54.93, 54.49, -52.23)
CIE-LCHlch(54.93, 75.48, 316.22°)
OKLaboklab(63.46% 0.1304 -0.1466)
OKLCHoklch(63.46% 0.196 311.6)
XYZxyz(35.5405, 22.8601, 72.3379)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15FDF #8DDF5F
analogous
#715FDF #B15FDF #DF5FCD
triadic
#B15FDF #DFB15F #5FDFB1
tetradic
#B15FDF #DF715F #8DDF5F #5FCDDF
square
#B15FDF #DF715F #8DDF5F #5FCDDF
split-complementary
#B15FDF #CDDF5F #5FDF71
monochromatic
#7421A3 #982CD5 #B15FDF #CA92E9 #E3C5F3

Accessibility & contrast

On white

3.77
#B15FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B15FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15FDF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15FDF#FFFFFF#000000##000000
##B15FDF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE3
Deuteranopia (green-blind)
#5585DC
Tritanopia (blue-blind)
#AC7696
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b15fdf;
/* rgb */ color: rgb(177, 95, 223);
/* oklch */ color: oklch(63.5% 0.196 311.6);
Tailwind
colors: {
  custom: {
    50: '#cb90e9',
    500: '#b15fdf',
    950: '#000000',
  },
}
SCSS
$custom: #b15fdf;
$custom-light: #cb90e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b15fdf",
  "rgb": {
    "r": 177,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 278.438,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63462,
    "c": 0.19618,
    "h": 311.6
  },
  "luminance": 0.22859
}

Semantic roles & 50–950 ramp

primary
#B15FDF
secondary
#C6E4B6
accent
#CF1759
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B15FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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