#B173FF#B173FF

#B173FF is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.2% C 0.202 H 301.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B173FF
RGBrgb(177, 115, 255)
HSLhsl(267, 100%, 73%)
HSVhsv(267, 55%, 100%)
CMYKcmyk(30.6%, 54.9%, 0%, 0%)
CIE-LABlab(60.63, 51.47, -60.93)
CIE-LCHlch(60.63, 79.76, 310.19°)
OKLaboklab(68.23% 0.1064 -0.1721)
OKLCHoklch(68.23% 0.202 301.7)
XYZxyz(42.3080, 28.8285, 97.9239)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173FF #C1FF73
analogous
#737BFF #B173FF #F773FF
triadic
#B173FF #FFB173 #73FFB1
tetradic
#B173FF #FF737B #C1FF73 #73FFF7
square
#B173FF #FF737B #C1FF73 #73FFF7
split-complementary
#B173FF #FFF773 #7BFF73
monochromatic
#6E00F8 #8F36FF #B173FF #D3B0FF #EEE0FF

Accessibility & contrast

On white

3.10
#B173FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B173FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173FF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173FF#FFFFFF#000000##000000
##B173FF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A91FF
Deuteranopia (green-blind)
#5092FC
Tritanopia (blue-blind)
#A28FAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b173ff;
/* rgb */ color: rgb(177, 115, 255);
/* oklch */ color: oklch(68.2% 0.202 301.7);
Tailwind
colors: {
  custom: {
    50: '#cc9dff',
    500: '#b173ff',
    950: '#000000',
  },
}
SCSS
$custom: #b173ff;
$custom-light: #cc9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b173ff",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 255
  },
  "hsl": {
    "h": 266.571,
    "s": 100,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68227,
    "c": 0.20236,
    "h": 301.7
  },
  "luminance": 0.28829
}

Semantic roles & 50–950 ramp

primary
#B173FF
secondary
#E8F7D4
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B173FF

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

Preview Lab → · Contrast checker → · Palette generator →

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