#B173F3#B173F3

#B173F3 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.5% C 0.188 H 304.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B173F3
RGBrgb(177, 115, 243)
HSLhsl(269, 84%, 70%)
HSVhsv(269, 53%, 95%)
CMYKcmyk(27.2%, 52.7%, 0%, 4.7%)
CIE-LABlab(59.96, 48.63, -55.38)
CIE-LCHlch(59.96, 73.70, 311.29°)
OKLaboklab(67.52% 0.1059 -0.1559)
OKLCHoklch(67.52% 0.188 304.2)
XYZxyz(40.4363, 28.0798, 88.0663)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173F3 #B5F373
analogous
#7375F3 #B173F3 #F173F3
triadic
#B173F3 #F3B173 #73F3B1
tetradic
#B173F3 #F37375 #B5F373 #73F3F1
square
#B173F3 #F37375 #B5F373 #73F3F1
split-complementary
#B173F3 #F3F173 #75F373
monochromatic
#7313D9 #923BEE #B173F3 #D0ABF8 #EFE3FD

Accessibility & contrast

On white

3.17
#B173F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B173F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173F3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173F3#FFFFFF#000000##000000
##B173F31.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#478FF7
Deuteranopia (green-blind)
#5B90F0
Tritanopia (blue-blind)
#A58BA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b173f3;
/* rgb */ color: rgb(177, 115, 243);
/* oklch */ color: oklch(67.5% 0.188 304.2);
Tailwind
colors: {
  custom: {
    50: '#cb9df8',
    500: '#b173f3',
    950: '#000000',
  },
}
SCSS
$custom: #b173f3;
$custom-light: #cb9df8;
$custom-dark: #000000;
JSON
{
  "hex": "#b173f3",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 243
  },
  "hsl": {
    "h": 269.063,
    "s": 84.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67518,
    "c": 0.18842,
    "h": 304.2
  },
  "luminance": 0.2808
}

Semantic roles & 50–950 ramp

primary
#B173F3
secondary
#E1F3CF
accent
#E10576
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B173F3

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

Preview Lab → · Contrast checker → · Palette generator →

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