#B174ED#B174ED

#B174ED is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.180 H 305.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B174ED
RGBrgb(177, 116, 237)
HSLhsl(270, 77%, 69%)
HSVhsv(270, 51%, 93%)
CMYKcmyk(25.3%, 51.1%, 0%, 7.1%)
CIE-LABlab(59.85, 46.71, -52.23)
CIE-LCHlch(59.85, 70.07, 311.80°)
OKLaboklab(67.33% 0.1041 -0.1467)
OKLCHoklch(67.33% 0.18 305.4)
XYZxyz(39.6597, 27.9526, 83.4104)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174ED #B0ED74
analogous
#7574ED #B174ED #ED74ED
triadic
#B174ED #EDB174 #74EDB1
tetradic
#B174ED #ED7574 #B0ED74 #74EDED
square
#B174ED #ED7574 #B0ED74 #74EDED
split-complementary
#B174ED #EDED74 #74ED75
monochromatic
#741ACC #933EE6 #B174ED #CFAAF4 #EEE0FB

Accessibility & contrast

On white

3.19
#B174ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#B174ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174ED
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174ED#FFFFFF#000000##000000
##B174ED1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF1
Deuteranopia (green-blind)
#6190EA
Tritanopia (blue-blind)
#A78AA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b174ed;
/* rgb */ color: rgb(177, 116, 237);
/* oklch */ color: oklch(67.3% 0.180 305.4);
Tailwind
colors: {
  custom: {
    50: '#cb9ef3',
    500: '#b174ed',
    950: '#000000',
  },
}
SCSS
$custom: #b174ed;
$custom-light: #cb9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b174ed",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 270.248,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67328,
    "c": 0.1799,
    "h": 305.4
  },
  "luminance": 0.27952
}

Semantic roles & 50–950 ramp

primary
#B174ED
secondary
#DEF0CD
accent
#D90C72
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B174ED

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

Preview Lab → · Contrast checker → · Palette generator →

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