#B177F9#B177F9

#B177F9 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.5% C 0.189 H 302.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#B177F9
RGBrgb(177, 119, 249)
HSLhsl(267, 92%, 72%)
HSVhsv(267, 52%, 98%)
CMYKcmyk(28.9%, 52.2%, 0%, 2.4%)
CIE-LABlab(61.12, 47.91, -56.85)
CIE-LCHlch(61.12, 74.34, 310.12°)
OKLaboklab(68.48% 0.1011 -0.1602)
OKLCHoklch(68.48% 0.189 302.3)
XYZxyz(41.8233, 29.3803, 93.0718)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B177F9 #BFF977
analogous
#777EF9 #B177F9 #F277F9
triadic
#B177F9 #F9B177 #77F9B1
tetradic
#B177F9 #F9777E #BFF977 #77F9F2
square
#B177F9 #F9777E #BFF977 #77F9F2
split-complementary
#B177F9 #F9F277 #7EF977
monochromatic
#6F0AEB #8F3CF6 #B177F9 #D3B2FC #EEE2FE

Accessibility & contrast

On white

3.05
#B177F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#B177F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B177F9
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B177F9#FFFFFF#000000##000000
##B177F91.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FD
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#A390AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b177f9;
/* rgb */ color: rgb(177, 119, 249);
/* oklch */ color: oklch(68.5% 0.189 302.3);
Tailwind
colors: {
  custom: {
    50: '#cca0fc',
    500: '#b177f9',
    950: '#000000',
  },
}
SCSS
$custom: #b177f9;
$custom-light: #cca0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b177f9",
  "rgb": {
    "r": 177,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 266.769,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68477,
    "c": 0.18944,
    "h": 302.3
  },
  "luminance": 0.2938
}

Semantic roles & 50–950 ramp

primary
#B177F9
secondary
#E7F6D5
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B177F9

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

Preview Lab → · Contrast checker → · Palette generator →

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