#B174FF#B174FF

#B174FF is a light, highly saturated violet. Relative luminance 0.291; OKLCH L 68.4% C 0.201 H 301.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B174FF
RGBrgb(177, 116, 255)
HSLhsl(266, 100%, 73%)
HSVhsv(266, 55%, 100%)
CMYKcmyk(30.6%, 54.5%, 0%, 0%)
CIE-LABlab(60.83, 50.94, -60.61)
CIE-LCHlch(60.83, 79.17, 310.05°)
OKLaboklab(68.38% 0.1051 -0.1712)
OKLCHoklch(68.38% 0.201 301.6)
XYZxyz(42.4227, 29.0578, 97.9621)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174FF #C2FF74
analogous
#747CFF #B174FF #F774FF
triadic
#B174FF #FFB174 #74FFB1
tetradic
#B174FF #FF747C #C2FF74 #74FFF7
square
#B174FF #FF747C #C2FF74 #74FFF7
split-complementary
#B174FF #FFF774 #7CFF74
monochromatic
#6D00F9 #8F37FF #B174FF #D3B1FF #EEE0FF

Accessibility & contrast

On white

3.08
#B174FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#B174FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174FF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174FF#FFFFFF#000000##000000
##B174FF1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C92FF
Deuteranopia (green-blind)
#5292FC
Tritanopia (blue-blind)
#A28FAF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b174ff;
/* rgb */ color: rgb(177, 116, 255);
/* oklch */ color: oklch(68.4% 0.201 301.6);
Tailwind
colors: {
  custom: {
    50: '#cc9eff',
    500: '#b174ff',
    950: '#000000',
  },
}
SCSS
$custom: #b174ff;
$custom-light: #cc9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b174ff",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 266.331,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68376,
    "c": 0.20091,
    "h": 301.6
  },
  "luminance": 0.29058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B174FF

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

Preview Lab → · Contrast checker → · Palette generator →

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