#B174F9#B174F9

#B174F9 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.194 H 302.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B174F9
RGBrgb(177, 116, 249)
HSLhsl(268, 92%, 72%)
HSVhsv(268, 53%, 98%)
CMYKcmyk(28.9%, 53.4%, 0%, 2.4%)
CIE-LABlab(60.50, 49.51, -57.84)
CIE-LCHlch(60.50, 76.14, 310.56°)
OKLaboklab(68.02% 0.1049 -0.1631)
OKLCHoklch(68.02% 0.194 302.7)
XYZxyz(41.4719, 28.6774, 92.9546)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174F9 #BCF974
analogous
#747AF9 #B174F9 #F474F9
triadic
#B174F9 #F9B174 #74F9B1
tetradic
#B174F9 #F9747A #BCF974 #74F9F4
square
#B174F9 #F9747A #BCF974 #74F9F4
split-complementary
#B174F9 #F9F474 #7AF974
monochromatic
#700AE9 #9039F6 #B174F9 #D2AFFC #EFE2FE

Accessibility & contrast

On white

3.12
#B174F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B174F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174F9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174F9#FFFFFF#000000##000000
##B174F91.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FD
Deuteranopia (green-blind)
#5792F6
Tritanopia (blue-blind)
#A48DAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b174f9;
/* rgb */ color: rgb(177, 116, 249);
/* oklch */ color: oklch(68.0% 0.194 302.7);
Tailwind
colors: {
  custom: {
    50: '#cc9efc',
    500: '#b174f9',
    950: '#000000',
  },
}
SCSS
$custom: #b174f9;
$custom-light: #cc9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#b174f9",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 267.519,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68019,
    "c": 0.19391,
    "h": 302.7
  },
  "luminance": 0.28677
}

Semantic roles & 50–950 ramp

primary
#B174F9
secondary
#E6F5D3
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B174F9

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

Preview Lab → · Contrast checker → · Palette generator →

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