#B173FD#B173FD

#B173FD is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.1% C 0.200 H 302.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B173FD
RGBrgb(177, 115, 253)
HSLhsl(267, 97%, 72%)
HSVhsv(267, 55%, 99%)
CMYKcmyk(30%, 54.5%, 0%, 0.8%)
CIE-LABlab(60.52, 50.99, -60.01)
CIE-LCHlch(60.52, 78.75, 310.35°)
OKLaboklab(68.11% 0.1063 -0.1694)
OKLCHoklch(68.11% 0.2 302.1)
XYZxyz(41.9877, 28.7004, 96.2371)
Luminance0.2870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173FD #BFFD73
analogous
#737AFD #B173FD #F673FD
triadic
#B173FD #FDB173 #73FDB1
tetradic
#B173FD #FD737A #BFFD73 #73FDF6
square
#B173FD #FD737A #BFFD73 #73FDF6
split-complementary
#B173FD #FDF673 #7AFD73
monochromatic
#6F03F2 #8F37FC #B173FD #D3AFFE #EEE1FF

Accessibility & contrast

On white

3.12
#B173FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B173FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173FD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173FD#FFFFFF#000000##000000
##B173FD1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#5291FA
Tritanopia (blue-blind)
#A28EAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b173fd;
/* rgb */ color: rgb(177, 115, 253);
/* oklch */ color: oklch(68.1% 0.200 302.1);
Tailwind
colors: {
  custom: {
    50: '#cc9dff',
    500: '#b173fd',
    950: '#000000',
  },
}
SCSS
$custom: #b173fd;
$custom-light: #cc9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b173fd",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 253
  },
  "hsl": {
    "h": 266.957,
    "s": 97.183,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68107,
    "c": 0.20003,
    "h": 302.1
  },
  "luminance": 0.287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B173FD

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

Preview Lab → · Contrast checker → · Palette generator →

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