#B176EF#B176EF

#B176EF is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.8% C 0.179 H 304.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B176EF
RGBrgb(177, 118, 239)
HSLhsl(269, 79%, 70%)
HSVhsv(269, 51%, 94%)
CMYKcmyk(25.9%, 50.6%, 0%, 6.3%)
CIE-LABlab(60.37, 46.09, -52.51)
CIE-LCHlch(60.37, 69.87, 311.28°)
OKLaboklab(67.75% 0.1017 -0.1475)
OKLCHoklch(67.75% 0.179 304.6)
XYZxyz(40.1865, 28.5362, 85.0355)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B176EF #B4EF76
analogous
#7678EF #B176EF #ED76EF
triadic
#B176EF #EFB176 #76EFB1
tetradic
#B176EF #EF7678 #B4EF76 #76EFED
square
#B176EF #EF7678 #B4EF76 #76EFED
split-complementary
#B176EF #EFED76 #78EF76
monochromatic
#7319D2 #923FE9 #B176EF #D0ADF5 #EFE4FC

Accessibility & contrast

On white

3.13
#B176EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B176EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B176EF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B176EF#FFFFFF#000000##000000
##B176EF1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5090F3
Deuteranopia (green-blind)
#6192EC
Tritanopia (blue-blind)
#A68CA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b176ef;
/* rgb */ color: rgb(177, 118, 239);
/* oklch */ color: oklch(67.8% 0.179 304.6);
Tailwind
colors: {
  custom: {
    50: '#cb9ff5',
    500: '#b176ef',
    950: '#000000',
  },
}
SCSS
$custom: #b176ef;
$custom-light: #cb9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#b176ef",
  "rgb": {
    "r": 177,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 269.256,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.67751,
    "c": 0.17916,
    "h": 304.6
  },
  "luminance": 0.28536
}

Semantic roles & 50–950 ramp

primary
#B176EF
secondary
#E1F1CF
accent
#DB0A75
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140F17
muted
#827E85

Preview Lab

Preview with #B176EF

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

Preview Lab → · Contrast checker → · Palette generator →

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