#B374FE#B374FE

#B374FE is a light, highly saturated violet. Relative luminance 0.292; OKLCH L 68.5% C 0.200 H 302.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#B374FE
RGBrgb(179, 116, 254)
HSLhsl(267, 99%, 73%)
HSVhsv(267, 54%, 100%)
CMYKcmyk(29.5%, 54.3%, 0%, 0.4%)
CIE-LABlab(60.98, 51.18, -59.80)
CIE-LCHlch(60.98, 78.71, 310.56°)
OKLaboklab(68.52% 0.1076 -0.1688)
OKLCHoklch(68.52% 0.2 302.5)
XYZxyz(42.7211, 29.2302, 97.1380)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374FE #BFFE74
analogous
#747AFE #B374FE #F874FE
triadic
#B374FE #FEB374 #74FEB3
tetradic
#B374FE #FE747A #BFFE74 #74FEF8
square
#B374FE #FE747A #BFFE74 #74FEF8
split-complementary
#B374FE #FEF874 #7AFE74
monochromatic
#7102F6 #9237FE #B374FE #D4B1FE #EEE1FF

Accessibility & contrast

On white

3.07
#B374FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#B374FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374FE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374FE#FFFFFF#000000##000000
##B374FE1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#5593FB
Tritanopia (blue-blind)
#A58FAE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b374fe;
/* rgb */ color: rgb(179, 116, 254);
/* oklch */ color: oklch(68.5% 0.200 302.5);
Tailwind
colors: {
  custom: {
    50: '#cd9eff',
    500: '#b374fe',
    950: '#000000',
  },
}
SCSS
$custom: #b374fe;
$custom-light: #cd9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b374fe",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 267.391,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68517,
    "c": 0.20014,
    "h": 302.5
  },
  "luminance": 0.2923
}

Semantic roles & 50–950 ramp

primary
#B374FE
secondary
#E7F7D4
accent
#E6007D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B374FE

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

Preview Lab → · Contrast checker → · Palette generator →

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