#B173FE#B173FE

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

Color values

HEX#B173FE
RGBrgb(177, 115, 254)
HSLhsl(267, 99%, 72%)
HSVhsv(267, 55%, 100%)
CMYKcmyk(30.3%, 54.7%, 0%, 0.4%)
CIE-LABlab(60.57, 51.23, -60.47)
CIE-LCHlch(60.57, 79.25, 310.27°)
OKLaboklab(68.17% 0.1063 -0.1708)
OKLCHoklch(68.17% 0.201 301.9)
XYZxyz(42.1475, 28.7642, 97.0783)
Luminance0.2876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173FE #C0FE73
analogous
#737AFE #B173FE #F773FE
triadic
#B173FE #FEB173 #73FEB1
tetradic
#B173FE #FE737A #C0FE73 #73FEF7
square
#B173FE #FE737A #C0FE73 #73FEF7
split-complementary
#B173FE #FEF773 #7AFE73
monochromatic
#6E02F5 #8F36FE #B173FE #D3B0FE #EEE1FF

Accessibility & contrast

On white

3.11
#B173FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#B173FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173FE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173FE#FFFFFF#000000##000000
##B173FE1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#5192FB
Tritanopia (blue-blind)
#A28EAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b173fe;
/* rgb */ color: rgb(177, 115, 254);
/* oklch */ color: oklch(68.2% 0.201 301.9);
Tailwind
colors: {
  custom: {
    50: '#cc9dff',
    500: '#b173fe',
    950: '#000000',
  },
}
SCSS
$custom: #b173fe;
$custom-light: #cc9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b173fe",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 266.763,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68167,
    "c": 0.20119,
    "h": 301.9
  },
  "luminance": 0.28764
}

Semantic roles & 50–950 ramp

primary
#B173FE
secondary
#E7F7D4
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B173FE

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

Preview Lab → · Contrast checker → · Palette generator →

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