#B174EA#B174EA

#B174EA is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.2% C 0.176 H 306.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B174EA
RGBrgb(177, 116, 234)
HSLhsl(271, 74%, 69%)
HSVhsv(271, 50%, 92%)
CMYKcmyk(24.4%, 50.4%, 0%, 8.2%)
CIE-LABlab(59.69, 46.02, -50.81)
CIE-LCHlch(59.69, 68.55, 312.16°)
OKLaboklab(67.16% 0.1039 -0.1425)
OKLCHoklch(67.16% 0.176 306.1)
XYZxyz(39.2251, 27.7787, 81.1214)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174EA #ADEA74
analogous
#7674EA #B174EA #EA74E8
triadic
#B174EA #EAB174 #74EAB1
tetradic
#B174EA #EA7674 #ADEA74 #74E8EA
square
#B174EA #EA7674 #ADEA74 #74E8EA
split-complementary
#B174EA #E8EA74 #74EA76
monochromatic
#751EC6 #933FE2 #B174EA #CFA9F2 #EDDEFA

Accessibility & contrast

On white

3.20
#B174EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#B174EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174EA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174EA#FFFFFF#000000##000000
##B174EA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEE
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#A889A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b174ea;
/* rgb */ color: rgb(177, 116, 234);
/* oklch */ color: oklch(67.2% 0.176 306.1);
Tailwind
colors: {
  custom: {
    50: '#cb9ef1',
    500: '#b174ea',
    950: '#000000',
  },
}
SCSS
$custom: #b174ea;
$custom-light: #cb9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b174ea",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 271.017,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6716,
    "c": 0.17638,
    "h": 306.1
  },
  "luminance": 0.27778
}

Semantic roles & 50–950 ramp

primary
#B174EA
secondary
#DCEFCB
accent
#D6106F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B174EA

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

Preview Lab → · Contrast checker → · Palette generator →

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