#B174FB#B174FB

#B174FB is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.1% C 0.196 H 302.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B174FB
RGBrgb(177, 116, 251)
HSLhsl(267, 94%, 72%)
HSVhsv(267, 54%, 98%)
CMYKcmyk(29.5%, 53.8%, 0%, 1.6%)
CIE-LABlab(60.61, 49.98, -58.76)
CIE-LCHlch(60.61, 77.15, 310.38°)
OKLaboklab(68.14% 0.105 -0.1658)
OKLCHoklch(68.14% 0.196 302.3)
XYZxyz(41.7855, 28.8029, 94.6062)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174FB #BEFB74
analogous
#747BFB #B174FB #F574FB
triadic
#B174FB #FBB174 #74FBB1
tetradic
#B174FB #FB747B #BEFB74 #74FBF5
square
#B174FB #FB747B #BEFB74 #74FBF5
split-complementary
#B174FB #FBF574 #7BFB74
monochromatic
#6F07EE #9039F9 #B174FB #D2AFFD #EEE1FE

Accessibility & contrast

On white

3.11
#B174FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B174FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174FB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174FB#FFFFFF#000000##000000
##B174FB1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#5592F8
Tritanopia (blue-blind)
#A38EAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b174fb;
/* rgb */ color: rgb(177, 116, 251);
/* oklch */ color: oklch(68.1% 0.196 302.3);
Tailwind
colors: {
  custom: {
    50: '#cc9efd',
    500: '#b174fb',
    950: '#000000',
  },
}
SCSS
$custom: #b174fb;
$custom-light: #cc9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#b174fb",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 267.111,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68137,
    "c": 0.19625,
    "h": 302.3
  },
  "luminance": 0.28803
}

Semantic roles & 50–950 ramp

primary
#B174FB
secondary
#E7F6D4
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B174FB

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

Preview Lab → · Contrast checker → · Palette generator →

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