#B174FC#B174FC

#B174FC is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.2% C 0.197 H 302.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B174FC
RGBrgb(177, 116, 252)
HSLhsl(267, 96%, 72%)
HSVhsv(267, 54%, 99%)
CMYKcmyk(29.8%, 54%, 0%, 1.2%)
CIE-LABlab(60.66, 50.22, -59.23)
CIE-LCHlch(60.66, 77.65, 310.30°)
OKLaboklab(68.2% 0.105 -0.1671)
OKLCHoklch(68.2% 0.197 302.1)
XYZxyz(41.9435, 28.8661, 95.4386)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174FC #BFFC74
analogous
#747BFC #B174FC #F574FC
triadic
#B174FC #FCB174 #74FCB1
tetradic
#B174FC #FC747B #BFFC74 #74FCF5
square
#B174FC #FC747B #BFFC74 #74FCF5
split-complementary
#B174FC #FCF574 #7BFC74
monochromatic
#6F05F0 #8F38FB #B174FC #D3B0FD #EEE1FE

Accessibility & contrast

On white

3.10
#B174FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B174FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174FC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174FC#FFFFFF#000000##000000
##B174FC1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b174fc;
/* rgb */ color: rgb(177, 116, 252);
/* oklch */ color: oklch(68.2% 0.197 302.1);
Tailwind
colors: {
  custom: {
    50: '#cc9efe',
    500: '#b174fc',
    950: '#000000',
  },
}
SCSS
$custom: #b174fc;
$custom-light: #cc9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#b174fc",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 266.912,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68197,
    "c": 0.19741,
    "h": 302.1
  },
  "luminance": 0.28866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B174FC

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

Preview Lab → · Contrast checker → · Palette generator →

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