#B374FD#B374FD

#B374FD is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.5% C 0.199 H 302.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B374FD
RGBrgb(179, 116, 253)
HSLhsl(268, 97%, 72%)
HSVhsv(268, 54%, 99%)
CMYKcmyk(29.2%, 54.2%, 0%, 0.8%)
CIE-LABlab(60.93, 50.94, -59.34)
CIE-LCHlch(60.93, 78.21, 310.64°)
OKLaboklab(68.46% 0.1075 -0.1674)
OKLCHoklch(68.46% 0.199 302.7)
XYZxyz(42.5614, 29.1663, 96.2969)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374FD #BEFD74
analogous
#747AFD #B374FD #F774FD
triadic
#B374FD #FDB374 #74FDB3
tetradic
#B374FD #FD747A #BEFD74 #74FDF7
square
#B374FD #FD747A #BEFD74 #74FDF7
split-complementary
#B374FD #FDF774 #7AFD74
monochromatic
#7203F3 #9238FC #B374FD #D4B0FE #EFE1FF

Accessibility & contrast

On white

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

On black

6.83
#B374FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374FD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374FD#FFFFFF#000000##000000
##B374FD1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#5693FA
Tritanopia (blue-blind)
#A58EAE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b374fd;
/* rgb */ color: rgb(179, 116, 253);
/* oklch */ color: oklch(68.5% 0.199 302.7);
Tailwind
colors: {
  custom: {
    50: '#cd9eff',
    500: '#b374fd',
    950: '#000000',
  },
}
SCSS
$custom: #b374fd;
$custom-light: #cd9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b374fd",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 267.591,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68458,
    "c": 0.19899,
    "h": 302.7
  },
  "luminance": 0.29166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B374FD

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

Preview Lab → · Contrast checker → · Palette generator →

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