#B177EE#B177EE

#B177EE is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.176 H 304.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B177EE
RGBrgb(177, 119, 238)
HSLhsl(269, 78%, 70%)
HSVhsv(269, 50%, 93%)
CMYKcmyk(25.6%, 50%, 0%, 6.7%)
CIE-LABlab(60.53, 45.32, -51.70)
CIE-LCHlch(60.53, 68.75, 311.24°)
OKLaboklab(67.85% 0.1003 -0.1451)
OKLCHoklch(67.85% 0.176 304.6)
XYZxyz(40.1576, 28.7140, 84.2991)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B177EE #B4EE77
analogous
#7778EE #B177EE #ED77EE
triadic
#B177EE #EEB177 #77EEB1
tetradic
#B177EE #EE7778 #B4EE77 #77EEED
square
#B177EE #EE7778 #B4EE77 #77EEED
split-complementary
#B177EE #EEED77 #78EE77
monochromatic
#731AD1 #9241E7 #B177EE #D0ADF5 #EFE4FC

Accessibility & contrast

On white

3.11
#B177EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B177EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B177EE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B177EE#FFFFFF#000000##000000
##B177EE1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F2
Deuteranopia (green-blind)
#6392EB
Tritanopia (blue-blind)
#A78CA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b177ee;
/* rgb */ color: rgb(177, 119, 238);
/* oklch */ color: oklch(67.9% 0.176 304.6);
Tailwind
colors: {
  custom: {
    50: '#cba0f4',
    500: '#b177ee',
    950: '#000000',
  },
}
SCSS
$custom: #b177ee;
$custom-light: #cba0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b177ee",
  "rgb": {
    "r": 177,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 269.244,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.67852,
    "c": 0.17643,
    "h": 304.6
  },
  "luminance": 0.28714
}

Semantic roles & 50–950 ramp

primary
#B177EE
secondary
#E1F1D0
accent
#DA0B75
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B177EE

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

Preview Lab → · Contrast checker → · Palette generator →

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