#B174EB#B174EB

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

Color values

HEX#B174EB
RGBrgb(177, 116, 235)
HSLhsl(271, 75%, 69%)
HSVhsv(271, 51%, 92%)
CMYKcmyk(24.7%, 50.6%, 0%, 7.8%)
CIE-LABlab(59.74, 46.25, -51.29)
CIE-LCHlch(59.74, 69.06, 312.04°)
OKLaboklab(67.22% 0.104 -0.1439)
OKLCHoklch(67.22% 0.178 305.8)
XYZxyz(39.3691, 27.8363, 81.8801)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174EB #AEEB74
analogous
#7674EB #B174EB #EB74EA
triadic
#B174EB #EBB174 #74EBB1
tetradic
#B174EB #EB7674 #AEEB74 #74EAEB
square
#B174EB #EB7674 #AEEB74 #74EAEB
split-complementary
#B174EB #EAEB74 #74EB76
monochromatic
#741DC8 #933EE3 #B174EB #CFAAF3 #EDDFFA

Accessibility & contrast

On white

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

On black

6.57
#B174EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174EB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174EB#FFFFFF#000000##000000
##B174EB1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEF
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#A889A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b174eb;
/* rgb */ color: rgb(177, 116, 235);
/* oklch */ color: oklch(67.2% 0.178 305.8);
Tailwind
colors: {
  custom: {
    50: '#cb9ef2',
    500: '#b174eb',
    950: '#000000',
  },
}
SCSS
$custom: #b174eb;
$custom-light: #cb9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b174eb",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 270.756,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67216,
    "c": 0.17755,
    "h": 305.8
  },
  "luminance": 0.27836
}

Semantic roles & 50–950 ramp

primary
#B174EB
secondary
#DDEFCC
accent
#D70F70
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B174EB

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

Preview Lab → · Contrast checker → · Palette generator →

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