#B176EA#B176EA

#B176EA is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.5% C 0.173 H 305.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B176EA
RGBrgb(177, 118, 234)
HSLhsl(271, 73%, 69%)
HSVhsv(271, 50%, 92%)
CMYKcmyk(24.4%, 49.6%, 0%, 8.2%)
CIE-LABlab(60.11, 44.94, -50.14)
CIE-LCHlch(60.11, 67.33, 311.87°)
OKLaboklab(67.47% 0.1012 -0.1406)
OKLCHoklch(67.47% 0.173 305.8)
XYZxyz(39.4581, 28.2448, 81.1990)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B176EA #AFEA76
analogous
#7776EA #B176EA #EA76E9
triadic
#B176EA #EAB176 #76EAB1
tetradic
#B176EA #EA7776 #AFEA76 #76E9EA
square
#B176EA #EA7776 #AFEA76 #76E9EA
split-complementary
#B176EA #E9EA76 #76EA77
monochromatic
#741FC7 #9341E2 #B176EA #CFABF2 #EDE0FA

Accessibility & contrast

On white

3.16
#B176EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#B176EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B176EA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B176EA#FFFFFF#000000##000000
##B176EA1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#6591E7
Tritanopia (blue-blind)
#A88AA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b176ea;
/* rgb */ color: rgb(177, 118, 234);
/* oklch */ color: oklch(67.5% 0.173 305.8);
Tailwind
colors: {
  custom: {
    50: '#cb9ff1',
    500: '#b176ea',
    950: '#000000',
  },
}
SCSS
$custom: #b176ea;
$custom-light: #cb9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b176ea",
  "rgb": {
    "r": 177,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 270.517,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67473,
    "c": 0.17326,
    "h": 305.8
  },
  "luminance": 0.28244
}

Semantic roles & 50–950 ramp

primary
#B176EA
secondary
#DEEFCD
accent
#D61071
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B176EA

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

Preview Lab → · Contrast checker → · Palette generator →

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