#B173EE#B173EE

#B173EE is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.2% C 0.183 H 305.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B173EE
RGBrgb(177, 115, 238)
HSLhsl(270, 78%, 69%)
HSVhsv(270, 52%, 93%)
CMYKcmyk(25.6%, 51.7%, 0%, 6.7%)
CIE-LABlab(59.69, 47.47, -53.03)
CIE-LCHlch(59.69, 71.18, 311.83°)
OKLaboklab(67.23% 0.1055 -0.149)
OKLCHoklch(67.23% 0.183 305.3)
XYZxyz(39.6915, 27.7819, 84.1438)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173EE #B0EE73
analogous
#7473EE #B173EE #EE73EE
triadic
#B173EE #EEB173 #73EEB1
tetradic
#B173EE #EE7473 #B0EE73 #73EEEE
square
#B173EE #EE7473 #B0EE73 #73EEEE
split-complementary
#B173EE #EEEE73 #73EE74
monochromatic
#7419CE #933CE7 #B173EE #CFAAF5 #EEE0FB

Accessibility & contrast

On white

3.20
#B173EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#B173EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173EE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173EE#FFFFFF#000000##000000
##B173EE1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF2
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#A789A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b173ee;
/* rgb */ color: rgb(177, 115, 238);
/* oklch */ color: oklch(67.2% 0.183 305.3);
Tailwind
colors: {
  custom: {
    50: '#cb9df4',
    500: '#b173ee',
    950: '#000000',
  },
}
SCSS
$custom: #b173ee;
$custom-light: #cb9df4;
$custom-dark: #000000;
JSON
{
  "hex": "#b173ee",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 270.244,
    "s": 78.344,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67231,
    "c": 0.1826,
    "h": 305.3
  },
  "luminance": 0.27782
}

Semantic roles & 50–950 ramp

primary
#B173EE
secondary
#DEF0CD
accent
#DB0B72
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B173EE

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

Preview Lab → · Contrast checker → · Palette generator →

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