#B374DB#B374DB

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

Color values

HEX#B374DB
RGBrgb(179, 116, 219)
HSLhsl(277, 59%, 66%)
HSVhsv(277, 47%, 86%)
CMYKcmyk(18.3%, 47%, 0%, 14.1%)
CIE-LABlab(59.15, 43.19, -43.27)
CIE-LCHlch(59.15, 61.13, 314.95°)
OKLaboklab(66.56% 0.1046 -0.1205)
OKLCHoklch(66.56% 0.16 311)
XYZxyz(37.6197, 27.1896, 70.2704)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374DB #9CDB74
analogous
#7F74DB #B374DB #DB74CF
triadic
#B374DB #DBB374 #74DBB3
tetradic
#B374DB #DB7F74 #9CDB74 #74CFDB
square
#B374DB #DB7F74 #9CDB74 #74CFDB
split-complementary
#B374DB #CFDB74 #74DB7F
monochromatic
#782CA9 #9843CE #B374DB #CEA5E8 #E8D5F4

Accessibility & contrast

On white

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

On black

6.44
#B374DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374DB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374DB#FFFFFF#000000##000000
##B374DB1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDF
Deuteranopia (green-blind)
#6D90D8
Tritanopia (blue-blind)
#AE849D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b374db;
/* rgb */ color: rgb(179, 116, 219);
/* oklch */ color: oklch(66.6% 0.160 311.0);
Tailwind
colors: {
  custom: {
    50: '#cc9de6',
    500: '#b374db',
    950: '#000000',
  },
}
SCSS
$custom: #b374db;
$custom-light: #cc9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#b374db",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 276.699,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66563,
    "c": 0.15962,
    "h": 311
  },
  "luminance": 0.27189
}

Semantic roles & 50–950 ramp

primary
#B374DB
secondary
#D2E7C4
accent
#C61F60
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B374DB

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

Preview Lab → · Contrast checker → · Palette generator →

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