#B177F2#B177F2

#B177F2 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.1% C 0.181 H 303.7°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B177F2
RGBrgb(177, 119, 242)
HSLhsl(268, 83%, 71%)
HSVhsv(268, 51%, 95%)
CMYKcmyk(26.9%, 50.8%, 0%, 5.1%)
CIE-LABlab(60.74, 46.26, -53.58)
CIE-LCHlch(60.74, 70.79, 310.80°)
OKLaboklab(68.08% 0.1006 -0.1506)
OKLCHoklch(68.08% 0.181 303.7)
XYZxyz(40.7518, 28.9517, 87.4285)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B177F2 #B8F277
analogous
#777AF2 #B177F2 #EF77F2
triadic
#B177F2 #F2B177 #77F2B1
tetradic
#B177F2 #F2777A #B8F277 #77F2EF
square
#B177F2 #F2777A #B8F277 #77F2EF
split-complementary
#B177F2 #F2EF77 #7AF277
monochromatic
#7215DA #913FED #B177F2 #D1AFF7 #EFE3FC

Accessibility & contrast

On white

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

On black

6.79
#B177F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B177F2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B177F2#FFFFFF#000000##000000
##B177F21.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#A68DAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b177f2;
/* rgb */ color: rgb(177, 119, 242);
/* oklch */ color: oklch(68.1% 0.181 303.7);
Tailwind
colors: {
  custom: {
    50: '#cba0f7',
    500: '#b177f2',
    950: '#000000',
  },
}
SCSS
$custom: #b177f2;
$custom-light: #cba0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b177f2",
  "rgb": {
    "r": 177,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 268.293,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68076,
    "c": 0.18116,
    "h": 303.7
  },
  "luminance": 0.28952
}

Semantic roles & 50–950 ramp

primary
#B177F2
secondary
#E3F3D2
accent
#DF0779
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B177F2

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

Preview Lab → · Contrast checker → · Palette generator →

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