#B176EB#B176EB

#B176EB is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.5% C 0.174 H 305.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B176EB
RGBrgb(177, 118, 235)
HSLhsl(270, 75%, 69%)
HSVhsv(270, 50%, 92%)
CMYKcmyk(24.7%, 49.8%, 0%, 7.8%)
CIE-LABlab(60.16, 45.17, -50.62)
CIE-LCHlch(60.16, 67.84, 311.74°)
OKLaboklab(67.53% 0.1013 -0.142)
OKLCHoklch(67.53% 0.174 305.5)
XYZxyz(39.6021, 28.3024, 81.9578)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B176EB #B0EB76
analogous
#7776EB #B176EB #EB76EB
triadic
#B176EB #EBB176 #76EBB1
tetradic
#B176EB #EB7776 #B0EB76 #76EBEB
square
#B176EB #EB7776 #B0EB76 #76EBEB
split-complementary
#B176EB #EBEB76 #76EB77
monochromatic
#741DC9 #9341E3 #B176EB #CFABF3 #EEE1FB

Accessibility & contrast

On white

3.15
#B176EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B176EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B176EB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B176EB#FFFFFF#000000##000000
##B176EB1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#A88BA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b176eb;
/* rgb */ color: rgb(177, 118, 235);
/* oklch */ color: oklch(67.5% 0.174 305.5);
Tailwind
colors: {
  custom: {
    50: '#cb9ff2',
    500: '#b176eb',
    950: '#000000',
  },
}
SCSS
$custom: #b176eb;
$custom-light: #cb9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b176eb",
  "rgb": {
    "r": 177,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 270.256,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67528,
    "c": 0.17444,
    "h": 305.5
  },
  "luminance": 0.28302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B176EB

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

Preview Lab → · Contrast checker → · Palette generator →

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