#B15FF2#B15FF2

#B15FF2 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.6% C 0.216 H 307.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B15FF2
RGBrgb(177, 95, 242)
HSLhsl(273, 85%, 66%)
HSVhsv(273, 61%, 95%)
CMYKcmyk(26.9%, 60.7%, 0%, 5.1%)
CIE-LABlab(56.03, 58.66, -61.11)
CIE-LCHlch(56.03, 84.71, 313.83°)
OKLaboklab(64.62% 0.1303 -0.1726)
OKLCHoklch(64.62% 0.216 307.1)
XYZxyz(38.2473, 23.9428, 86.5937)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15FF2 #A0F25F
analogous
#675FF2 #B15FF2 #F25FEA
triadic
#B15FF2 #F2B15F #5FF2B1
tetradic
#B15FF2 #F2675F #A0F25F #5FEAF2
square
#B15FF2 #F2675F #A0F25F #5FEAF2
split-complementary
#B15FF2 #EAF25F #5FF267
monochromatic
#7610C6 #9526ED #B15FF2 #CD98F7 #E8D0FB

Accessibility & contrast

On white

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

On black

5.79
#B15FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15FF2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15FF2#FFFFFF#000000##000000
##B15FF21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1183F7
Deuteranopia (green-blind)
#4487EF
Tritanopia (blue-blind)
#A77CA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b15ff2;
/* rgb */ color: rgb(177, 95, 242);
/* oklch */ color: oklch(64.6% 0.216 307.1);
Tailwind
colors: {
  custom: {
    50: '#cc90f7',
    500: '#b15ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b15ff2;
$custom-light: #cc90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b15ff2",
  "rgb": {
    "r": 177,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 273.469,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6462,
    "c": 0.21629,
    "h": 307.1
  },
  "luminance": 0.23942
}

Semantic roles & 50–950 ramp

primary
#B15FF2
secondary
#D4EFBE
accent
#E10466
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B15FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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