#B172DE#B172DE

#B172DE is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.2% C 0.166 H 309.5°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B172DE
RGBrgb(177, 114, 222)
HSLhsl(275, 62%, 66%)
HSVhsv(275, 49%, 87%)
CMYKcmyk(20.3%, 48.6%, 0%, 12.9%)
CIE-LABlab(58.65, 44.38, -45.75)
CIE-LCHlch(58.65, 63.74, 314.13°)
OKLaboklab(66.19% 0.1053 -0.1278)
OKLCHoklch(66.19% 0.166 309.5)
XYZxyz(37.3311, 26.6562, 72.2716)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B172DE #9FDE72
analogous
#7B72DE #B172DE #DE72D5
triadic
#B172DE #DEB172 #72DEB1
tetradic
#B172DE #DE7B72 #9FDE72 #72D5DE
square
#B172DE #DE7B72 #9FDE72 #72D5DE
split-complementary
#B172DE #D5DE72 #72DE7B
monochromatic
#7629AD #9640D2 #B172DE #CCA4EA #E8D5F5

Accessibility & contrast

On white

3.32
#B172DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#B172DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B172DE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B172DE#FFFFFF#000000##000000
##B172DE1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE2
Deuteranopia (green-blind)
#688EDB
Tritanopia (blue-blind)
#AB849E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b172de;
/* rgb */ color: rgb(177, 114, 222);
/* oklch */ color: oklch(66.2% 0.166 309.5);
Tailwind
colors: {
  custom: {
    50: '#ca9ce9',
    500: '#b172de',
    950: '#000000',
  },
}
SCSS
$custom: #b172de;
$custom-light: #ca9ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#b172de",
  "rgb": {
    "r": 177,
    "g": 114,
    "b": 222
  },
  "hsl": {
    "h": 275,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66193,
    "c": 0.1656,
    "h": 309.5
  },
  "luminance": 0.26656
}

Semantic roles & 50–950 ramp

primary
#B172DE
secondary
#D3E8C4
accent
#CA1C64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B172DE

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

Preview Lab → · Contrast checker → · Palette generator →

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