#B374FB#B374FB

#B374FB is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.3% C 0.197 H 303.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B374FB
RGBrgb(179, 116, 251)
HSLhsl(268, 94%, 72%)
HSVhsv(268, 54%, 98%)
CMYKcmyk(28.7%, 53.8%, 0%, 1.6%)
CIE-LABlab(60.82, 50.47, -58.42)
CIE-LCHlch(60.82, 77.20, 310.82°)
OKLaboklab(68.34% 0.1075 -0.1647)
OKLCHoklch(68.34% 0.197 303.1)
XYZxyz(42.2445, 29.0396, 94.6277)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374FB #BCFB74
analogous
#7479FB #B374FB #F774FB
triadic
#B374FB #FBB374 #74FBB3
tetradic
#B374FB #FB7479 #BCFB74 #74FBF7
square
#B374FB #FB7479 #BCFB74 #74FBF7
split-complementary
#B374FB #FBF774 #79FB74
monochromatic
#7307EE #9239F9 #B374FB #D4AFFD #EFE1FE

Accessibility & contrast

On white

3.08
#B374FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#B374FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374FB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374FB#FFFFFF#000000##000000
##B374FB1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FF
Deuteranopia (green-blind)
#5792F8
Tritanopia (blue-blind)
#A68EAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b374fb;
/* rgb */ color: rgb(179, 116, 251);
/* oklch */ color: oklch(68.3% 0.197 303.1);
Tailwind
colors: {
  custom: {
    50: '#cd9efd',
    500: '#b374fb',
    950: '#000000',
  },
}
SCSS
$custom: #b374fb;
$custom-light: #cd9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#b374fb",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 268,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68339,
    "c": 0.19668,
    "h": 303.1
  },
  "luminance": 0.2904
}

Semantic roles & 50–950 ramp

primary
#B374FB
secondary
#E7F6D4
accent
#E6007A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B374FB

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

Preview Lab → · Contrast checker → · Palette generator →

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