#B174E9#B174E9

#B174E9 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.1% C 0.175 H 306.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B174E9
RGBrgb(177, 116, 233)
HSLhsl(271, 73%, 68%)
HSVhsv(271, 50%, 91%)
CMYKcmyk(24%, 50.2%, 0%, 8.6%)
CIE-LABlab(59.64, 45.79, -50.34)
CIE-LCHlch(59.64, 68.05, 312.29°)
OKLaboklab(67.11% 0.1038 -0.1412)
OKLCHoklch(67.11% 0.175 306.3)
XYZxyz(39.0818, 27.7214, 80.3669)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174E9 #ACE974
analogous
#7674E9 #B174E9 #E974E6
triadic
#B174E9 #E9B174 #74E9B1
tetradic
#B174E9 #E97674 #ACE974 #74E6E9
square
#B174E9 #E97674 #ACE974 #74E6E9
split-complementary
#B174E9 #E6E974 #74E976
monochromatic
#751FC4 #933FE1 #B174E9 #CFA9F1 #ECDEFA

Accessibility & contrast

On white

3.21
#B174E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B174E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174E9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174E9#FFFFFF#000000##000000
##B174E91.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EED
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#A889A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b174e9;
/* rgb */ color: rgb(177, 116, 233);
/* oklch */ color: oklch(67.1% 0.175 306.3);
Tailwind
colors: {
  custom: {
    50: '#cb9ef0',
    500: '#b174e9',
    950: '#000000',
  },
}
SCSS
$custom: #b174e9;
$custom-light: #cb9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#b174e9",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 271.282,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67105,
    "c": 0.17521,
    "h": 306.3
  },
  "luminance": 0.27721
}

Semantic roles & 50–950 ramp

primary
#B174E9
secondary
#DCEECB
accent
#D5116F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B174E9

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

Preview Lab → · Contrast checker → · Palette generator →

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