#B177EB#B177EB

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

Color values

HEX#B177EB
RGBrgb(177, 119, 235)
HSLhsl(270, 74%, 69%)
HSVhsv(270, 49%, 92%)
CMYKcmyk(24.7%, 49.4%, 0%, 7.8%)
CIE-LABlab(60.37, 44.63, -50.28)
CIE-LCHlch(60.37, 67.23, 311.59°)
OKLaboklab(67.69% 0.1 -0.141)
OKLCHoklch(67.69% 0.173 305.3)
XYZxyz(39.7205, 28.5392, 81.9972)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B177EB #B1EB77
analogous
#7777EB #B177EB #EB77EB
triadic
#B177EB #EBB177 #77EBB1
tetradic
#B177EB #EB7777 #B1EB77 #77EBEB
square
#B177EB #EB7777 #B1EB77 #77EBEB
split-complementary
#B177EB #EBEB77 #77EB77
monochromatic
#741ECA #9242E3 #B177EB #D0ACF3 #EEE2FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B177EB#FFFFFF#000000##000000
##B177EB1.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)
#5590EF
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#A88BA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b177eb;
/* rgb */ color: rgb(177, 119, 235);
/* oklch */ color: oklch(67.7% 0.173 305.3);
Tailwind
colors: {
  custom: {
    50: '#cba0f2',
    500: '#b177eb',
    950: '#000000',
  },
}
SCSS
$custom: #b177eb;
$custom-light: #cba0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b177eb",
  "rgb": {
    "r": 177,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67685,
    "c": 0.17288,
    "h": 305.3
  },
  "luminance": 0.28539
}

Semantic roles & 50–950 ramp

primary
#B177EB
secondary
#DFF0CE
accent
#D60F73
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B177EB

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

Preview Lab → · Contrast checker → · Palette generator →

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