#B374F4#B374F4

#B374F4 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.9% C 0.189 H 304.6°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B374F4
RGBrgb(179, 116, 244)
HSLhsl(270, 85%, 71%)
HSVhsv(270, 52%, 96%)
CMYKcmyk(26.6%, 52.5%, 0%, 4.3%)
CIE-LABlab(60.43, 48.84, -55.17)
CIE-LCHlch(60.43, 73.68, 311.52°)
OKLaboklab(67.93% 0.1071 -0.1552)
OKLCHoklch(67.93% 0.189 304.6)
XYZxyz(41.1614, 28.6063, 88.9235)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374F4 #B5F474
analogous
#7475F4 #B374F4 #F374F4
triadic
#B374F4 #F4B374 #74F4B3
tetradic
#B374F4 #F47475 #B5F474 #74F4F3
square
#B374F4 #F47475 #B5F474 #74F4F3
split-complementary
#B374F4 #F4F374 #75F474
monochromatic
#7511DC #943BF0 #B374F4 #D2ADF8 #EFE3FD

Accessibility & contrast

On white

3.12
#B374F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B374F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374F4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374F4#FFFFFF#000000##000000
##B374F41.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F8
Deuteranopia (green-blind)
#5D92F1
Tritanopia (blue-blind)
#A88CA9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b374f4;
/* rgb */ color: rgb(179, 116, 244);
/* oklch */ color: oklch(67.9% 0.189 304.6);
Tailwind
colors: {
  custom: {
    50: '#cd9ef8',
    500: '#b374f4',
    950: '#000000',
  },
}
SCSS
$custom: #b374f4;
$custom-light: #cd9ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#b374f4",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 269.531,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67932,
    "c": 0.18856,
    "h": 304.6
  },
  "luminance": 0.28606
}

Semantic roles & 50–950 ramp

primary
#B374F4
secondary
#E2F3D1
accent
#E20474
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B374F4

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

Preview Lab → · Contrast checker → · Palette generator →

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