#B174F3#B174F3

#B174F3 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.7% C 0.187 H 304.0°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B174F3
RGBrgb(177, 116, 243)
HSLhsl(269, 84%, 70%)
HSVhsv(269, 52%, 95%)
CMYKcmyk(27.2%, 52.3%, 0%, 4.7%)
CIE-LABlab(60.17, 48.10, -55.05)
CIE-LCHlch(60.17, 73.10, 311.15°)
OKLaboklab(67.67% 0.1046 -0.1549)
OKLCHoklch(67.67% 0.187 304)
XYZxyz(40.5510, 28.3091, 88.1045)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174F3 #B6F374
analogous
#7476F3 #B174F3 #F174F3
triadic
#B174F3 #F3B174 #74F3B1
tetradic
#B174F3 #F37476 #B6F374 #74F3F1
square
#B174F3 #F37476 #B6F374 #74F3F1
split-complementary
#B174F3 #F3F174 #76F374
monochromatic
#7213DA #913CEE #B174F3 #D1ACF8 #EFE3FD

Accessibility & contrast

On white

3.15
#B174F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B174F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174F3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174F3#FFFFFF#000000##000000
##B174F31.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF7
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#A58CA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b174f3;
/* rgb */ color: rgb(177, 116, 243);
/* oklch */ color: oklch(67.7% 0.187 304.0);
Tailwind
colors: {
  custom: {
    50: '#cb9ef8',
    500: '#b174f3',
    950: '#000000',
  },
}
SCSS
$custom: #b174f3;
$custom-light: #cb9ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#b174f3",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 243
  },
  "hsl": {
    "h": 268.819,
    "s": 84.106,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6767,
    "c": 0.18691,
    "h": 304
  },
  "luminance": 0.28309
}

Semantic roles & 50–950 ramp

primary
#B174F3
secondary
#E2F3D0
accent
#E10577
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B174F3

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

Preview Lab → · Contrast checker → · Palette generator →

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