#B374EA#B374EA

#B374EA is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.4% C 0.177 H 306.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B374EA
RGBrgb(179, 116, 234)
HSLhsl(272, 74%, 69%)
HSVhsv(272, 50%, 92%)
CMYKcmyk(23.5%, 50.4%, 0%, 8.2%)
CIE-LABlab(59.90, 46.54, -50.46)
CIE-LCHlch(59.90, 68.64, 312.69°)
OKLaboklab(67.37% 0.1063 -0.1415)
OKLCHoklch(67.37% 0.177 306.9)
XYZxyz(39.6841, 28.0154, 81.1429)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374EA #ABEA74
analogous
#7874EA #B374EA #EA74E6
triadic
#B374EA #EAB374 #74EAB3
tetradic
#B374EA #EA7874 #ABEA74 #74E6EA
square
#B374EA #EA7874 #ABEA74 #74E6EA
split-complementary
#B374EA #E6EA74 #74EA78
monochromatic
#771EC6 #963FE2 #B374EA #D0A9F2 #EDDEFA

Accessibility & contrast

On white

3.18
#B374EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B374EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374EA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374EA#FFFFFF#000000##000000
##B374EA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#AB89A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b374ea;
/* rgb */ color: rgb(179, 116, 234);
/* oklch */ color: oklch(67.4% 0.177 306.9);
Tailwind
colors: {
  custom: {
    50: '#cc9ef1',
    500: '#b374ea',
    950: '#000000',
  },
}
SCSS
$custom: #b374ea;
$custom-light: #cc9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b374ea",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 272.034,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67368,
    "c": 0.17696,
    "h": 306.9
  },
  "luminance": 0.28015
}

Semantic roles & 50–950 ramp

primary
#B374EA
secondary
#DCEFCB
accent
#D6106C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B374EA

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

Preview Lab → · Contrast checker → · Palette generator →

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