#B374EB#B374EB

#B374EB is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.4% C 0.178 H 306.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B374EB
RGBrgb(179, 116, 235)
HSLhsl(272, 75%, 69%)
HSVhsv(272, 51%, 92%)
CMYKcmyk(23.8%, 50.6%, 0%, 7.8%)
CIE-LABlab(59.95, 46.77, -50.93)
CIE-LCHlch(59.95, 69.15, 312.56°)
OKLaboklab(67.42% 0.1064 -0.1428)
OKLCHoklch(67.42% 0.178 306.7)
XYZxyz(39.8281, 28.0730, 81.9016)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374EB #ACEB74
analogous
#7874EB #B374EB #EB74E7
triadic
#B374EB #EBB374 #74EBB3
tetradic
#B374EB #EB7874 #ACEB74 #74E7EB
square
#B374EB #EB7874 #ACEB74 #74E7EB
split-complementary
#B374EB #E7EB74 #74EB78
monochromatic
#771DC8 #963EE3 #B374EB #D0AAF3 #EEDFFA

Accessibility & contrast

On white

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

On black

6.61
#B374EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374EB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374EB#FFFFFF#000000##000000
##B374EB1.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#AA89A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b374eb;
/* rgb */ color: rgb(179, 116, 235);
/* oklch */ color: oklch(67.4% 0.178 306.7);
Tailwind
colors: {
  custom: {
    50: '#cc9ef2',
    500: '#b374eb',
    950: '#000000',
  },
}
SCSS
$custom: #b374eb;
$custom-light: #cc9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b374eb",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 271.765,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67423,
    "c": 0.17811,
    "h": 306.7
  },
  "luminance": 0.28073
}

Semantic roles & 50–950 ramp

primary
#B374EB
secondary
#DCEFCC
accent
#D70F6D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B374EB

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

Preview Lab → · Contrast checker → · Palette generator →

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