#B15FEC#B15FEC

#B15FEC is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.2% C 0.210 H 308.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B15FEC
RGBrgb(177, 95, 236)
HSLhsl(275, 79%, 65%)
HSVhsv(275, 60%, 93%)
CMYKcmyk(25%, 59.7%, 0%, 7.5%)
CIE-LABlab(55.67, 57.33, -58.33)
CIE-LCHlch(55.67, 81.79, 314.50°)
OKLaboklab(64.25% 0.1305 -0.1645)
OKLCHoklch(64.25% 0.21 308.4)
XYZxyz(37.3610, 23.5882, 81.9254)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15FEC #9AEC5F
analogous
#6B5FEC #B15FEC #EC5FE0
triadic
#B15FEC #ECB15F #5FECB1
tetradic
#B15FEC #EC6B5F #9AEC5F #5FE0EC
square
#B15FEC #EC6B5F #9AEC5F #5FE0EC
split-complementary
#B15FEC #E0EC5F #5FEC6B
monochromatic
#7616BA #9628E6 #B15FEC #CC96F2 #E6CCF9

Accessibility & contrast

On white

3.67
#B15FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B15FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15FEC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15FEC#FFFFFF#000000##000000
##B15FEC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2182F0
Deuteranopia (green-blind)
#4A86E9
Tritanopia (blue-blind)
#A87A9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b15fec;
/* rgb */ color: rgb(177, 95, 236);
/* oklch */ color: oklch(64.2% 0.210 308.4);
Tailwind
colors: {
  custom: {
    50: '#cc90f3',
    500: '#b15fec',
    950: '#000000',
  },
}
SCSS
$custom: #b15fec;
$custom-light: #cc90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b15fec",
  "rgb": {
    "r": 177,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 274.894,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64246,
    "c": 0.20994,
    "h": 308.4
  },
  "luminance": 0.23588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B15FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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