#B173DF#B173DF

#B173DF is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.4% C 0.165 H 309.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B173DF
RGBrgb(177, 115, 223)
HSLhsl(274, 63%, 66%)
HSVhsv(274, 48%, 87%)
CMYKcmyk(20.6%, 48.4%, 0%, 12.5%)
CIE-LABlab(58.92, 44.06, -45.89)
CIE-LCHlch(58.92, 63.62, 313.83°)
OKLaboklab(66.4% 0.1041 -0.1282)
OKLCHoklch(66.4% 0.165 309.1)
XYZxyz(37.5789, 26.9368, 73.0174)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173DF #A1DF73
analogous
#7B73DF #B173DF #DF73D7
triadic
#B173DF #DFB173 #73DFB1
tetradic
#B173DF #DF7B73 #A1DF73 #73D7DF
square
#B173DF #DF7B73 #A1DF73 #73D7DF
split-complementary
#B173DF #D7DF73 #73DF7B
monochromatic
#7628AF #9541D4 #B173DF #CDA5EA #E9D7F6

Accessibility & contrast

On white

3.29
#B173DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#B173DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173DF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173DF#FFFFFF#000000##000000
##B173DF1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#698FDC
Tritanopia (blue-blind)
#AB859F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b173df;
/* rgb */ color: rgb(177, 115, 223);
/* oklch */ color: oklch(66.4% 0.165 309.1);
Tailwind
colors: {
  custom: {
    50: '#ca9de9',
    500: '#b173df',
    950: '#000000',
  },
}
SCSS
$custom: #b173df;
$custom-light: #ca9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#b173df",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 274.444,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66404,
    "c": 0.16514,
    "h": 309.1
  },
  "luminance": 0.26936
}

Semantic roles & 50–950 ramp

primary
#B173DF
secondary
#D4E9C5
accent
#CB1B66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B173DF

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

Preview Lab → · Contrast checker → · Palette generator →

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