#B174FE#B174FE

#B174FE is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.3% C 0.200 H 301.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#B174FE
RGBrgb(177, 116, 254)
HSLhsl(267, 99%, 73%)
HSVhsv(267, 54%, 100%)
CMYKcmyk(30.3%, 54.3%, 0%, 0.4%)
CIE-LABlab(60.78, 50.70, -60.15)
CIE-LCHlch(60.78, 78.66, 310.13°)
OKLaboklab(68.32% 0.1051 -0.1698)
OKLCHoklch(68.32% 0.2 301.7)
XYZxyz(42.2621, 28.9935, 97.1165)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174FE #C1FE74
analogous
#747CFE #B174FE #F674FE
triadic
#B174FE #FEB174 #74FEB1
tetradic
#B174FE #FE747C #C1FE74 #74FEF6
square
#B174FE #FE747C #C1FE74 #74FEF6
split-complementary
#B174FE #FEF674 #7CFE74
monochromatic
#6E02F6 #8F37FE #B174FE #D3B1FE #EEE1FF

Accessibility & contrast

On white

3.09
#B174FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#B174FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174FE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174FE#FFFFFF#000000##000000
##B174FE1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#5392FB
Tritanopia (blue-blind)
#A28FAE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b174fe;
/* rgb */ color: rgb(177, 116, 254);
/* oklch */ color: oklch(68.3% 0.200 301.7);
Tailwind
colors: {
  custom: {
    50: '#cc9eff',
    500: '#b174fe',
    950: '#000000',
  },
}
SCSS
$custom: #b174fe;
$custom-light: #cc9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b174fe",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 266.522,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68316,
    "c": 0.19974,
    "h": 301.7
  },
  "luminance": 0.28994
}

Semantic roles & 50–950 ramp

primary
#B174FE
secondary
#E8F7D4
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B174FE

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

Preview Lab → · Contrast checker → · Palette generator →

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