#B174DB#B174DB

#B174DB is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.3% C 0.159 H 310.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B174DB
RGBrgb(177, 116, 219)
HSLhsl(276, 59%, 66%)
HSVhsv(276, 47%, 86%)
CMYKcmyk(19.2%, 47%, 0%, 14.1%)
CIE-LABlab(58.93, 42.63, -43.63)
CIE-LCHlch(58.93, 61.00, 314.34°)
OKLaboklab(66.35% 0.1022 -0.1216)
OKLCHoklch(66.35% 0.159 310)
XYZxyz(37.1607, 26.9530, 70.2489)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174DB #9EDB74
analogous
#7D74DB #B174DB #DB74D1
triadic
#B174DB #DBB174 #74DBB1
tetradic
#B174DB #DB7D74 #9EDB74 #74D1DB
square
#B174DB #DB7D74 #9EDB74 #74D1DB
split-complementary
#B174DB #D1DB74 #74DB7D
monochromatic
#762CA9 #9643CE #B174DB #CCA5E8 #E8D5F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B174DB#FFFFFF#000000##000000
##B174DB1.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)
#5B8BDF
Deuteranopia (green-blind)
#6C8FD8
Tritanopia (blue-blind)
#AC859D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b174db;
/* rgb */ color: rgb(177, 116, 219);
/* oklch */ color: oklch(66.3% 0.159 310.0);
Tailwind
colors: {
  custom: {
    50: '#ca9de6',
    500: '#b174db',
    950: '#000000',
  },
}
SCSS
$custom: #b174db;
$custom-light: #ca9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#b174db",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 275.534,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6635,
    "c": 0.15888,
    "h": 310
  },
  "luminance": 0.26952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B174DB

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

Preview Lab → · Contrast checker → · Palette generator →

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