#B176F7#B176F7

#B176F7 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.2% C 0.189 H 302.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#B176F7
RGBrgb(177, 118, 247)
HSLhsl(267, 89%, 72%)
HSVhsv(267, 52%, 97%)
CMYKcmyk(28.3%, 52.2%, 0%, 3.1%)
CIE-LABlab(60.80, 47.97, -56.25)
CIE-LCHlch(60.80, 73.93, 310.46°)
OKLaboklab(68.21% 0.1023 -0.1584)
OKLCHoklch(68.21% 0.189 302.8)
XYZxyz(41.3946, 29.0194, 91.3982)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B176F7 #BCF776
analogous
#767CF7 #B176F7 #F276F7
triadic
#B176F7 #F7B176 #76F7B1
tetradic
#B176F7 #F7767C #BCF776 #76F7F2
square
#B176F7 #F7767C #BCF776 #76F7F2
split-complementary
#B176F7 #F7F276 #7CF776
monochromatic
#700DE5 #903CF4 #B176F7 #D2B0FA #EFE2FD

Accessibility & contrast

On white

3.09
#B176F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#B176F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B176F7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B176F7#FFFFFF#000000##000000
##B176F71.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#5B92F4
Tritanopia (blue-blind)
#A48EAC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b176f7;
/* rgb */ color: rgb(177, 118, 247);
/* oklch */ color: oklch(68.2% 0.189 302.8);
Tailwind
colors: {
  custom: {
    50: '#cb9ffa',
    500: '#b176f7',
    950: '#000000',
  },
}
SCSS
$custom: #b176f7;
$custom-light: #cb9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#b176f7",
  "rgb": {
    "r": 177,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 267.442,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68208,
    "c": 0.18859,
    "h": 302.8
  },
  "luminance": 0.29019
}

Semantic roles & 50–950 ramp

primary
#B176F7
secondary
#E6F5D4
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B176F7

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

Preview Lab → · Contrast checker → · Palette generator →

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