#B374DE#B374DE

#B374DE is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.163 H 310.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B374DE
RGBrgb(179, 116, 222)
HSLhsl(276, 62%, 66%)
HSVhsv(276, 48%, 87%)
CMYKcmyk(19.4%, 47.7%, 0%, 12.9%)
CIE-LABlab(59.30, 43.85, -44.72)
CIE-LCHlch(59.30, 62.63, 314.44°)
OKLaboklab(66.72% 0.105 -0.1247)
OKLCHoklch(66.72% 0.163 310.1)
XYZxyz(38.0182, 27.3490, 72.3692)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374DE #9FDE74
analogous
#7E74DE #B374DE #DE74D4
triadic
#B374DE #DEB374 #74DEB3
tetradic
#B374DE #DE7E74 #9FDE74 #74D4DE
square
#B374DE #DE7E74 #9FDE74 #74D4DE
split-complementary
#B374DE #D4DE74 #74DE7E
monochromatic
#7829AE #9843D2 #B374DE #CEA5EA #E9D7F5

Accessibility & contrast

On white

3.25
#B374DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#B374DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374DE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374DE#FFFFFF#000000##000000
##B374DE1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE2
Deuteranopia (green-blind)
#6C90DB
Tritanopia (blue-blind)
#AE859F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b374de;
/* rgb */ color: rgb(179, 116, 222);
/* oklch */ color: oklch(66.7% 0.163 310.1);
Tailwind
colors: {
  custom: {
    50: '#cc9de9',
    500: '#b374de',
    950: '#000000',
  },
}
SCSS
$custom: #b374de;
$custom-light: #cc9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#b374de",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 222
  },
  "hsl": {
    "h": 275.66,
    "s": 61.628,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6672,
    "c": 0.16307,
    "h": 310.1
  },
  "luminance": 0.27348
}

Semantic roles & 50–950 ramp

primary
#B374DE
secondary
#D4E8C6
accent
#C91C62
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B374DE

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

Preview Lab → · Contrast checker → · Palette generator →

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