#B173DC#B173DC

#B173DC is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.2% C 0.162 H 309.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B173DC
RGBrgb(177, 115, 220)
HSLhsl(275, 60%, 66%)
HSVhsv(275, 48%, 86%)
CMYKcmyk(19.5%, 47.7%, 0%, 13.7%)
CIE-LABlab(58.77, 43.40, -44.45)
CIE-LCHlch(58.77, 62.12, 314.31°)
OKLaboklab(66.24% 0.1037 -0.124)
OKLCHoklch(66.24% 0.162 309.9)
XYZxyz(37.1781, 26.7765, 70.9061)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173DC #9EDC73
analogous
#7C73DC #B173DC #DC73D2
triadic
#B173DC #DCB173 #73DCB1
tetradic
#B173DC #DC7C73 #9EDC73 #73D2DC
square
#B173DC #DC7C73 #9EDC73 #73D2DC
split-complementary
#B173DC #D2DC73 #73DC7C
monochromatic
#762BAA #9642D0 #B173DC #CCA4E8 #E8D5F4

Accessibility & contrast

On white

3.30
#B173DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#B173DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173DC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173DC#FFFFFF#000000##000000
##B173DC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#598AE0
Deuteranopia (green-blind)
#6B8ED9
Tritanopia (blue-blind)
#AC849D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b173dc;
/* rgb */ color: rgb(177, 115, 220);
/* oklch */ color: oklch(66.2% 0.162 309.9);
Tailwind
colors: {
  custom: {
    50: '#ca9de7',
    500: '#b173dc',
    950: '#000000',
  },
}
SCSS
$custom: #b173dc;
$custom-light: #ca9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#b173dc",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 275.429,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66244,
    "c": 0.16167,
    "h": 309.9
  },
  "luminance": 0.26776
}

Semantic roles & 50–950 ramp

primary
#B173DC
secondary
#D2E7C4
accent
#C81E63
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B173DC

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

Preview Lab → · Contrast checker → · Palette generator →

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