#B15FFB#B15FFB

#B15FFB is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.2% C 0.226 H 305.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B15FFB
RGBrgb(177, 95, 251)
HSLhsl(272, 95%, 68%)
HSVhsv(272, 62%, 98%)
CMYKcmyk(29.5%, 62.2%, 0%, 1.6%)
CIE-LABlab(56.58, 60.69, -65.22)
CIE-LCHlch(56.58, 89.09, 312.94°)
OKLaboklab(65.2% 0.13 -0.1847)
OKLCHoklch(65.2% 0.226 305.1)
XYZxyz(39.6324, 24.4968, 93.8885)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15FFB #A9FB5F
analogous
#635FFB #B15FFB #FB5FF7
triadic
#B15FFB #FBB15F #5FFBB1
tetradic
#B15FFB #FB635F #A9FB5F #5FF7FB
square
#B15FFB #FB635F #A9FB5F #5FF7FB
split-complementary
#B15FFB #F7FB5F #5FFB63
monochromatic
#7505DA #9423FA #B15FFB #CE9BFC #EBD6FE

Accessibility & contrast

On white

3.56
#B15FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B15FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15FFB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15FFB#FFFFFF#000000##000000
##B15FFB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#3888F7
Tritanopia (blue-blind)
#A480A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b15ffb;
/* rgb */ color: rgb(177, 95, 251);
/* oklch */ color: oklch(65.2% 0.226 305.1);
Tailwind
colors: {
  custom: {
    50: '#cd91fd',
    500: '#b15ffb',
    950: '#000000',
  },
}
SCSS
$custom: #b15ffb;
$custom-light: #cd91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b15ffb",
  "rgb": {
    "r": 177,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 271.538,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65196,
    "c": 0.22582,
    "h": 305.1
  },
  "luminance": 0.24497
}

Semantic roles & 50–950 ramp

primary
#B15FFB
secondary
#DAF3C3
accent
#E6006D
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B15FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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