#B15DFA#B15DFA

#B15DFA is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.9% C 0.227 H 305.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B15DFA
RGBrgb(177, 93, 250)
HSLhsl(272, 94%, 67%)
HSVhsv(272, 63%, 98%)
CMYKcmyk(29.2%, 62.8%, 0%, 2%)
CIE-LABlab(56.17, 61.43, -65.34)
CIE-LCHlch(56.17, 89.68, 313.23°)
OKLaboklab(64.88% 0.1323 -0.185)
OKLCHoklch(64.88% 0.227 305.6)
XYZxyz(39.2974, 24.0782, 93.0013)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15DFA #A6FA5D
analogous
#635DFA #B15DFA #FA5DF4
triadic
#B15DFA #FAB15D #5DFAB1
tetradic
#B15DFA #FA635D #A6FA5D #5DF4FA
square
#B15DFA #FA635D #A6FA5D #5DF4FA
split-complementary
#B15DFA #F4FA5D #5DFA63
monochromatic
#7607D6 #9422F8 #B15DFA #CE98FC #EAD4FE

Accessibility & contrast

On white

3.61
#B15DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#B15DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15DFA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15DFA#FFFFFF#000000##000000
##B15DFA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#3787F6
Tritanopia (blue-blind)
#A47EA3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b15dfa;
/* rgb */ color: rgb(177, 93, 250);
/* oklch */ color: oklch(64.9% 0.227 305.6);
Tailwind
colors: {
  custom: {
    50: '#cd8ffd',
    500: '#b15dfa',
    950: '#000000',
  },
}
SCSS
$custom: #b15dfa;
$custom-light: #cd8ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#b15dfa",
  "rgb": {
    "r": 177,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 272.102,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64875,
    "c": 0.22743,
    "h": 305.6
  },
  "luminance": 0.24078
}

Semantic roles & 50–950 ramp

primary
#B15DFA
secondary
#D8F2C1
accent
#E6006B
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B15DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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