#B173FC#B173FC

#B173FC is a light, vivid violet. Relative luminance 0.286; OKLCH L 68.0% C 0.199 H 302.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B173FC
RGBrgb(177, 115, 252)
HSLhsl(267, 96%, 72%)
HSVhsv(267, 54%, 99%)
CMYKcmyk(29.8%, 54.4%, 0%, 1.2%)
CIE-LABlab(60.46, 50.75, -59.55)
CIE-LCHlch(60.46, 78.24, 310.44°)
OKLaboklab(68.05% 0.1063 -0.1681)
OKLCHoklch(68.05% 0.199 302.3)
XYZxyz(41.8289, 28.6368, 95.4004)
Luminance0.2864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173FC #BEFC73
analogous
#737AFC #B173FC #F573FC
triadic
#B173FC #FCB173 #73FCB1
tetradic
#B173FC #FC737A #BEFC73 #73FCF5
square
#B173FC #FC737A #BEFC73 #73FCF5
split-complementary
#B173FC #FCF573 #7AFC73
monochromatic
#6F05EF #9037FB #B173FC #D2AFFD #EEE1FE

Accessibility & contrast

On white

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

On black

6.73
#B173FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173FC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173FC#FFFFFF#000000##000000
##B173FC1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#A38EAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b173fc;
/* rgb */ color: rgb(177, 115, 252);
/* oklch */ color: oklch(68.0% 0.199 302.3);
Tailwind
colors: {
  custom: {
    50: '#cc9dfe',
    500: '#b173fc',
    950: '#000000',
  },
}
SCSS
$custom: #b173fc;
$custom-light: #cc9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b173fc",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 267.153,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68047,
    "c": 0.19887,
    "h": 302.3
  },
  "luminance": 0.28637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B173FC

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

Preview Lab → · Contrast checker → · Palette generator →

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