#B374F8#B374F8

#B374F8 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.2% C 0.193 H 303.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B374F8
RGBrgb(179, 116, 248)
HSLhsl(269, 90%, 71%)
HSVhsv(269, 53%, 97%)
CMYKcmyk(27.8%, 53.2%, 0%, 2.7%)
CIE-LABlab(60.65, 49.77, -57.03)
CIE-LCHlch(60.65, 75.69, 311.11°)
OKLaboklab(68.16% 0.1073 -0.1607)
OKLCHoklch(68.16% 0.193 303.7)
XYZxyz(41.7753, 28.8519, 92.1569)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374F8 #B9F874
analogous
#7477F8 #B374F8 #F574F8
triadic
#B374F8 #F8B374 #74F8B3
tetradic
#B374F8 #F87477 #B9F874 #74F8F5
square
#B374F8 #F87477 #B9F874 #74F8F5
split-complementary
#B374F8 #F8F574 #77F874
monochromatic
#740CE6 #933AF5 #B374F8 #D3AEFB #EFE2FE

Accessibility & contrast

On white

3.10
#B374F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B374F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374F8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374F8#FFFFFF#000000##000000
##B374F81.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FC
Deuteranopia (green-blind)
#5A92F5
Tritanopia (blue-blind)
#A78DAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b374f8;
/* rgb */ color: rgb(179, 116, 248);
/* oklch */ color: oklch(68.2% 0.193 303.7);
Tailwind
colors: {
  custom: {
    50: '#cd9efb',
    500: '#b374f8',
    950: '#000000',
  },
}
SCSS
$custom: #b374f8;
$custom-light: #cd9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b374f8",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 268.636,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68163,
    "c": 0.1932,
    "h": 303.7
  },
  "luminance": 0.28852
}

Semantic roles & 50–950 ramp

primary
#B374F8
secondary
#E5F5D3
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B374F8

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

Preview Lab → · Contrast checker → · Palette generator →

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