#B374E6#B374E6

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

Color values

HEX#B374E6
RGBrgb(179, 116, 230)
HSLhsl(273, 70%, 68%)
HSVhsv(273, 50%, 90%)
CMYKcmyk(22.2%, 49.6%, 0%, 9.8%)
CIE-LABlab(59.70, 45.63, -48.56)
CIE-LCHlch(59.70, 66.64, 313.22°)
OKLaboklab(67.15% 0.1059 -0.1359)
OKLCHoklch(67.15% 0.172 307.9)
XYZxyz(39.1159, 27.7881, 78.1506)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374E6 #A7E674
analogous
#7A74E6 #B374E6 #E674E0
triadic
#B374E6 #E6B374 #74E6B3
tetradic
#B374E6 #E67A74 #A7E674 #74E0E6
square
#B374E6 #E67A74 #A7E674 #74E0E6
split-complementary
#B374E6 #E0E674 #74E67A
monochromatic
#7822BE #9740DD #B374E6 #CFA8EF #ECDCF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B374E6#FFFFFF#000000##000000
##B374E61.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)
#558DEA
Deuteranopia (green-blind)
#6791E3
Tritanopia (blue-blind)
#AC87A2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b374e6;
/* rgb */ color: rgb(179, 116, 230);
/* oklch */ color: oklch(67.1% 0.172 307.9);
Tailwind
colors: {
  custom: {
    50: '#cc9eee',
    500: '#b374e6',
    950: '#000000',
  },
}
SCSS
$custom: #b374e6;
$custom-light: #cc9eee;
$custom-dark: #000000;
JSON
{
  "hex": "#b374e6",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 230
  },
  "hsl": {
    "h": 273.158,
    "s": 69.512,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67148,
    "c": 0.17232,
    "h": 307.9
  },
  "luminance": 0.27788
}

Semantic roles & 50–950 ramp

primary
#B374E6
secondary
#D9ECC9
accent
#D11469
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B374E6

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

Preview Lab → · Contrast checker → · Palette generator →

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