#B15FEB#B15FEB

#B15FEB is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.2% C 0.209 H 308.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B15FEB
RGBrgb(177, 95, 235)
HSLhsl(275, 78%, 65%)
HSVhsv(275, 60%, 92%)
CMYKcmyk(24.7%, 59.6%, 0%, 7.8%)
CIE-LABlab(55.61, 57.11, -57.87)
CIE-LCHlch(55.61, 81.30, 314.62°)
OKLaboklab(64.18% 0.1305 -0.1631)
OKLCHoklch(64.18% 0.209 308.7)
XYZxyz(37.2161, 23.5303, 81.1624)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15FEB #99EB5F
analogous
#6B5FEB #B15FEB #EB5FDF
triadic
#B15FEB #EBB15F #5FEBB1
tetradic
#B15FEB #EB6B5F #99EB5F #5FDFEB
square
#B15FEB #EB6B5F #99EB5F #5FDFEB
split-complementary
#B15FEB #DFEB5F #5FEB6B
monochromatic
#7617B9 #9629E4 #B15FEB #CC95F2 #E6CCF9

Accessibility & contrast

On white

3.68
#B15FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B15FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15FEB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15FEB#FFFFFF#000000##000000
##B15FEB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382EF
Deuteranopia (green-blind)
#4B86E8
Tritanopia (blue-blind)
#A97A9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b15feb;
/* rgb */ color: rgb(177, 95, 235);
/* oklch */ color: oklch(64.2% 0.209 308.7);
Tailwind
colors: {
  custom: {
    50: '#cc90f2',
    500: '#b15feb',
    950: '#000000',
  },
}
SCSS
$custom: #b15feb;
$custom-light: #cc90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b15feb",
  "rgb": {
    "r": 177,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 275.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64184,
    "c": 0.20888,
    "h": 308.7
  },
  "luminance": 0.2353
}

Semantic roles & 50–950 ramp

primary
#B15FEB
secondary
#CFEBBB
accent
#DA0B61
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B15FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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