#B374DC#B374DC

#B374DC is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.6% C 0.161 H 310.7°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B374DC
RGBrgb(179, 116, 220)
HSLhsl(276, 60%, 66%)
HSVhsv(276, 47%, 86%)
CMYKcmyk(18.6%, 47.3%, 0%, 13.7%)
CIE-LABlab(59.20, 43.41, -43.75)
CIE-LCHlch(59.20, 61.63, 314.77°)
OKLaboklab(66.62% 0.1048 -0.1219)
OKLCHoklch(66.62% 0.161 310.7)
XYZxyz(37.7517, 27.2425, 70.9658)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374DC #9DDC74
analogous
#7F74DC #B374DC #DC74D1
triadic
#B374DC #DCB374 #74DCB3
tetradic
#B374DC #DC7F74 #9DDC74 #74D1DC
square
#B374DC #DC7F74 #9DDC74 #74D1DC
split-complementary
#B374DC #D1DC74 #74DC7F
monochromatic
#782BAB #9843D0 #B374DC #CEA5E8 #E8D6F5

Accessibility & contrast

On white

3.26
#B374DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B374DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374DC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374DC#FFFFFF#000000##000000
##B374DC1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BE0
Deuteranopia (green-blind)
#6D90D9
Tritanopia (blue-blind)
#AE859E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b374dc;
/* rgb */ color: rgb(179, 116, 220);
/* oklch */ color: oklch(66.6% 0.161 310.7);
Tailwind
colors: {
  custom: {
    50: '#cc9de7',
    500: '#b374dc',
    950: '#000000',
  },
}
SCSS
$custom: #b374dc;
$custom-light: #cc9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#b374dc",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 276.346,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66615,
    "c": 0.16077,
    "h": 310.7
  },
  "luminance": 0.27242
}

Semantic roles & 50–950 ramp

primary
#B374DC
secondary
#D2E7C5
accent
#C71E61
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B374DC

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

Preview Lab → · Contrast checker → · Palette generator →

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