#B15DF7#B15DF7

#B15DF7 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.7% C 0.224 H 306.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B15DF7
RGBrgb(177, 93, 247)
HSLhsl(273, 91%, 67%)
HSVhsv(273, 62%, 97%)
CMYKcmyk(28.3%, 62.3%, 0%, 3.1%)
CIE-LABlab(55.98, 60.75, -63.97)
CIE-LCHlch(55.98, 88.22, 313.52°)
OKLaboklab(64.68% 0.1324 -0.181)
OKLCHoklch(64.68% 0.224 306.2)
XYZxyz(38.8307, 23.8916, 90.5435)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15DF7 #A3F75D
analogous
#645DF7 #B15DF7 #F75DF0
triadic
#B15DF7 #F7B15D #5DF7B1
tetradic
#B15DF7 #F7645D #A3F75D #5DF0F7
square
#B15DF7 #F7645D #A3F75D #5DF0F7
split-complementary
#B15DF7 #F0F75D #5DF764
monochromatic
#760ACF #9523F4 #B15DF7 #CD97FA #E9D2FD

Accessibility & contrast

On white

3.63
#B15DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B15DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15DF7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15DF7#FFFFFF#000000##000000
##B15DF71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FC
Deuteranopia (green-blind)
#3B87F4
Tritanopia (blue-blind)
#A57DA2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b15df7;
/* rgb */ color: rgb(177, 93, 247);
/* oklch */ color: oklch(64.7% 0.224 306.2);
Tailwind
colors: {
  custom: {
    50: '#cd8ffb',
    500: '#b15df7',
    950: '#000000',
  },
}
SCSS
$custom: #b15df7;
$custom-light: #cd8ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b15df7",
  "rgb": {
    "r": 177,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 272.727,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6468,
    "c": 0.22428,
    "h": 306.2
  },
  "luminance": 0.23891
}

Semantic roles & 50–950 ramp

primary
#B15DF7
secondary
#D6F1BF
accent
#E60068
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B15DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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