#B174FD#B174FD

#B174FD is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.3% C 0.199 H 301.9°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B174FD
RGBrgb(177, 116, 253)
HSLhsl(267, 97%, 72%)
HSVhsv(267, 54%, 99%)
CMYKcmyk(30%, 54.2%, 0%, 0.8%)
CIE-LABlab(60.72, 50.46, -59.69)
CIE-LCHlch(60.72, 78.16, 310.21°)
OKLaboklab(68.26% 0.1051 -0.1685)
OKLCHoklch(68.26% 0.199 301.9)
XYZxyz(42.1024, 28.9297, 96.2754)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174FD #C0FD74
analogous
#747CFD #B174FD #F574FD
triadic
#B174FD #FDB174 #74FDB1
tetradic
#B174FD #FD747C #C0FD74 #74FDF5
square
#B174FD #FD747C #C0FD74 #74FDF5
split-complementary
#B174FD #FDF574 #7CFD74
monochromatic
#6E03F3 #8F38FC #B174FD #D3B0FE #EEE1FF

Accessibility & contrast

On white

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

On black

6.79
#B174FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174FD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174FD#FFFFFF#000000##000000
##B174FD1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#5492FA
Tritanopia (blue-blind)
#A28FAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b174fd;
/* rgb */ color: rgb(177, 116, 253);
/* oklch */ color: oklch(68.3% 0.199 301.9);
Tailwind
colors: {
  custom: {
    50: '#cc9eff',
    500: '#b174fd',
    950: '#000000',
  },
}
SCSS
$custom: #b174fd;
$custom-light: #cc9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b174fd",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 266.715,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68256,
    "c": 0.19857,
    "h": 301.9
  },
  "luminance": 0.2893
}

Semantic roles & 50–950 ramp

primary
#B174FD
secondary
#E7F7D4
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B174FD

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

Preview Lab → · Contrast checker → · Palette generator →

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