#B374EF#B374EF

#B374EF is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.6% C 0.183 H 305.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B374EF
RGBrgb(179, 116, 239)
HSLhsl(271, 79%, 70%)
HSVhsv(271, 51%, 94%)
CMYKcmyk(25.1%, 51.5%, 0%, 6.3%)
CIE-LABlab(60.16, 47.68, -52.82)
CIE-LCHlch(60.16, 71.16, 312.07°)
OKLaboklab(67.65% 0.1067 -0.1484)
OKLCHoklch(67.65% 0.183 305.7)
XYZxyz(40.4125, 28.3068, 84.9794)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374EF #B0EF74
analogous
#7674EF #B374EF #EF74ED
triadic
#B374EF #EFB374 #74EFB3
tetradic
#B374EF #EF7674 #B0EF74 #74EDEF
square
#B374EF #EF7674 #B0EF74 #74EDEF
split-complementary
#B374EF #EDEF74 #74EF76
monochromatic
#7718D1 #953DE9 #B374EF #D1ABF5 #EFE2FC

Accessibility & contrast

On white

3.15
#B374EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B374EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374EF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374EF#FFFFFF#000000##000000
##B374EF1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#6191EC
Tritanopia (blue-blind)
#A98AA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b374ef;
/* rgb */ color: rgb(179, 116, 239);
/* oklch */ color: oklch(67.6% 0.183 305.7);
Tailwind
colors: {
  custom: {
    50: '#cc9ef5',
    500: '#b374ef',
    950: '#000000',
  },
}
SCSS
$custom: #b374ef;
$custom-light: #cc9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#b374ef",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 270.732,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67647,
    "c": 0.18276,
    "h": 305.7
  },
  "luminance": 0.28306
}

Semantic roles & 50–950 ramp

primary
#B374EF
secondary
#DFF1CE
accent
#DC0A70
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B374EF

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

Preview Lab → · Contrast checker → · Palette generator →

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