#B174EC#B174EC

#B174EC is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.3% C 0.179 H 305.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B174EC
RGBrgb(177, 116, 236)
HSLhsl(271, 76%, 69%)
HSVhsv(271, 51%, 93%)
CMYKcmyk(25%, 50.8%, 0%, 7.5%)
CIE-LABlab(59.79, 46.48, -51.76)
CIE-LCHlch(59.79, 69.56, 311.92°)
OKLaboklab(67.27% 0.1041 -0.1453)
OKLCHoklch(67.27% 0.179 305.6)
XYZxyz(39.5140, 27.8943, 82.6431)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174EC #AFEC74
analogous
#7574EC #B174EC #EC74EB
triadic
#B174EC #ECB174 #74ECB1
tetradic
#B174EC #EC7574 #AFEC74 #74EBEC
square
#B174EC #EC7574 #AFEC74 #74EBEC
split-complementary
#B174EC #EBEC74 #74EC75
monochromatic
#741CCA #933EE5 #B174EC #CFAAF3 #EDE0FB

Accessibility & contrast

On white

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

On black

6.58
#B174EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174EC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174EC#FFFFFF#000000##000000
##B174EC1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#A789A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b174ec;
/* rgb */ color: rgb(177, 116, 236);
/* oklch */ color: oklch(67.3% 0.179 305.6);
Tailwind
colors: {
  custom: {
    50: '#cb9ef3',
    500: '#b174ec',
    950: '#000000',
  },
}
SCSS
$custom: #b174ec;
$custom-light: #cb9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b174ec",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 270.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67272,
    "c": 0.17873,
    "h": 305.6
  },
  "luminance": 0.27894
}

Semantic roles & 50–950 ramp

primary
#B174EC
secondary
#DEEFCC
accent
#D80D71
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B174EC

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

Preview Lab → · Contrast checker → · Palette generator →

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