#B177F7#B177F7

#B177F7 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.4% C 0.187 H 302.7°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#B177F7
RGBrgb(177, 119, 247)
HSLhsl(267, 89%, 72%)
HSVhsv(267, 52%, 97%)
CMYKcmyk(28.3%, 51.8%, 0%, 3.1%)
CIE-LABlab(61.01, 47.43, -55.92)
CIE-LCHlch(61.01, 73.33, 310.31°)
OKLaboklab(68.36% 0.101 -0.1575)
OKLCHoklch(68.36% 0.187 302.7)
XYZxyz(41.5130, 29.2562, 91.4376)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B177F7 #BDF777
analogous
#777DF7 #B177F7 #F177F7
triadic
#B177F7 #F7B177 #77F7B1
tetradic
#B177F7 #F7777D #BDF777 #77F7F1
square
#B177F7 #F7777D #BDF777 #77F7F1
split-complementary
#B177F7 #F7F177 #7DF777
monochromatic
#700EE6 #903DF4 #B177F7 #D2B1FA #EEE2FD

Accessibility & contrast

On white

3.07
#B177F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#B177F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B177F7
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B177F7#FFFFFF#000000##000000
##B177F71.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#5C93F4
Tritanopia (blue-blind)
#A48FAC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b177f7;
/* rgb */ color: rgb(177, 119, 247);
/* oklch */ color: oklch(68.4% 0.187 302.7);
Tailwind
colors: {
  custom: {
    50: '#cba0fa',
    500: '#b177f7',
    950: '#000000',
  },
}
SCSS
$custom: #b177f7;
$custom-light: #cba0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b177f7",
  "rgb": {
    "r": 177,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 267.188,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68362,
    "c": 0.18709,
    "h": 302.7
  },
  "luminance": 0.29256
}

Semantic roles & 50–950 ramp

primary
#B177F7
secondary
#E6F5D5
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B177F7

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

Preview Lab → · Contrast checker → · Palette generator →

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