#B374F6#B374F6

#B374F6 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.191 H 304.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#B374F6
RGBrgb(179, 116, 246)
HSLhsl(269, 88%, 71%)
HSVhsv(269, 53%, 96%)
CMYKcmyk(27.2%, 52.8%, 0%, 3.5%)
CIE-LABlab(60.54, 49.30, -56.10)
CIE-LCHlch(60.54, 74.68, 311.31°)
OKLaboklab(68.05% 0.1072 -0.1579)
OKLCHoklch(68.05% 0.191 304.2)
XYZxyz(41.4667, 28.7285, 90.5315)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374F6 #B7F674
analogous
#7476F6 #B374F6 #F474F6
triadic
#B374F6 #F6B374 #74F6B3
tetradic
#B374F6 #F67476 #B7F674 #74F6F4
square
#B374F6 #F67476 #B7F674 #74F6F4
split-complementary
#B374F6 #F6F474 #76F674
monochromatic
#750FE1 #943BF2 #B374F6 #D2ADFA #EFE2FD

Accessibility & contrast

On white

3.11
#B374F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#B374F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374F6
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374F6#FFFFFF#000000##000000
##B374F61.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4790FA
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#A78CAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b374f6;
/* rgb */ color: rgb(179, 116, 246);
/* oklch */ color: oklch(68.0% 0.191 304.2);
Tailwind
colors: {
  custom: {
    50: '#cd9efa',
    500: '#b374f6',
    950: '#000000',
  },
}
SCSS
$custom: #b374f6;
$custom-light: #cd9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#b374f6",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 269.077,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68047,
    "c": 0.19088,
    "h": 304.2
  },
  "luminance": 0.28728
}

Semantic roles & 50–950 ramp

primary
#B374F6
secondary
#E3F4D2
accent
#E40176
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B374F6

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

Preview Lab → · Contrast checker → · Palette generator →

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