#B173DD#B173DD

#B173DD is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.3% C 0.163 H 309.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B173DD
RGBrgb(177, 115, 221)
HSLhsl(275, 61%, 66%)
HSVhsv(275, 48%, 87%)
CMYKcmyk(19.9%, 48%, 0%, 13.3%)
CIE-LABlab(58.82, 43.62, -44.93)
CIE-LCHlch(58.82, 62.62, 314.15°)
OKLaboklab(66.3% 0.1039 -0.1254)
OKLCHoklch(66.3% 0.163 309.6)
XYZxyz(37.3109, 26.8296, 71.6057)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173DD #9FDD73
analogous
#7C73DD #B173DD #DD73D4
triadic
#B173DD #DDB173 #73DDB1
tetradic
#B173DD #DD7C73 #9FDD73 #73D4DD
square
#B173DD #DD7C73 #9FDD73 #73D4DD
split-complementary
#B173DD #D4DD73 #73DD7C
monochromatic
#762AAC #9642D1 #B173DD #CCA4E9 #E8D5F5

Accessibility & contrast

On white

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

On black

6.37
#B173DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173DD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173DD#FFFFFF#000000##000000
##B173DD1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#598BE1
Deuteranopia (green-blind)
#6A8FDA
Tritanopia (blue-blind)
#AB849E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b173dd;
/* rgb */ color: rgb(177, 115, 221);
/* oklch */ color: oklch(66.3% 0.163 309.6);
Tailwind
colors: {
  custom: {
    50: '#ca9de8',
    500: '#b173dd',
    950: '#000000',
  },
}
SCSS
$custom: #b173dd;
$custom-light: #ca9de8;
$custom-dark: #000000;
JSON
{
  "hex": "#b173dd",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 275.094,
    "s": 60.92,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66297,
    "c": 0.16283,
    "h": 309.6
  },
  "luminance": 0.26829
}

Semantic roles & 50–950 ramp

primary
#B173DD
secondary
#D3E7C4
accent
#C91D64
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B173DD

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

Preview Lab → · Contrast checker → · Palette generator →

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