#B173FA#B173FA

#B173FA is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.9% C 0.197 H 302.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B173FA
RGBrgb(177, 115, 250)
HSLhsl(268, 93%, 72%)
HSVhsv(268, 54%, 98%)
CMYKcmyk(29.2%, 54%, 0%, 2%)
CIE-LABlab(60.35, 50.28, -58.63)
CIE-LCHlch(60.35, 77.24, 310.62°)
OKLaboklab(67.93% 0.1062 -0.1654)
OKLCHoklch(67.93% 0.197 302.7)
XYZxyz(41.5136, 28.5107, 93.7400)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173FA #BCFA73
analogous
#7379FA #B173FA #F573FA
triadic
#B173FA #FAB173 #73FAB1
tetradic
#B173FA #FA7379 #BCFA73 #73FAF5
square
#B173FA #FA7379 #BCFA73 #73FAF5
split-complementary
#B173FA #FAF573 #79FA73
monochromatic
#7008EA #9038F8 #B173FA #D2AEFC #EFE1FE

Accessibility & contrast

On white

3.13
#B173FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B173FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173FA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173FA#FFFFFF#000000##000000
##B173FA1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FF
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#A38DAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b173fa;
/* rgb */ color: rgb(177, 115, 250);
/* oklch */ color: oklch(67.9% 0.197 302.7);
Tailwind
colors: {
  custom: {
    50: '#cc9dfd',
    500: '#b173fa',
    950: '#000000',
  },
}
SCSS
$custom: #b173fa;
$custom-light: #cc9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b173fa",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 267.556,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67928,
    "c": 0.19655,
    "h": 302.7
  },
  "luminance": 0.28511
}

Semantic roles & 50–950 ramp

primary
#B173FA
secondary
#E6F6D3
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B173FA

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

Preview Lab → · Contrast checker → · Palette generator →

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