#B374FC#B374FC

#B374FC is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.4% C 0.198 H 302.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B374FC
RGBrgb(179, 116, 252)
HSLhsl(268, 96%, 72%)
HSVhsv(268, 54%, 99%)
CMYKcmyk(29%, 54%, 0%, 1.2%)
CIE-LABlab(60.87, 50.70, -58.88)
CIE-LCHlch(60.87, 77.70, 310.73°)
OKLaboklab(68.4% 0.1075 -0.1661)
OKLCHoklch(68.4% 0.198 302.9)
XYZxyz(42.4025, 29.1028, 95.4601)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374FC #BDFC74
analogous
#7479FC #B374FC #F774FC
triadic
#B374FC #FCB374 #74FCB3
tetradic
#B374FC #FC7479 #BDFC74 #74FCF7
square
#B374FC #FC7479 #BDFC74 #74FCF7
split-complementary
#B374FC #FCF774 #79FC74
monochromatic
#7205F0 #9238FB #B374FC #D4B0FD #EFE1FE

Accessibility & contrast

On white

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

On black

6.82
#B374FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374FC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374FC#FFFFFF#000000##000000
##B374FC1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#5693F9
Tritanopia (blue-blind)
#A58EAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b374fc;
/* rgb */ color: rgb(179, 116, 252);
/* oklch */ color: oklch(68.4% 0.198 302.9);
Tailwind
colors: {
  custom: {
    50: '#cd9efe',
    500: '#b374fc',
    950: '#000000',
  },
}
SCSS
$custom: #b374fc;
$custom-light: #cd9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#b374fc",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 267.794,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68398,
    "c": 0.19783,
    "h": 302.9
  },
  "luminance": 0.29103
}

Semantic roles & 50–950 ramp

primary
#B374FC
secondary
#E7F7D4
accent
#E6007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B374FC

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

Preview Lab → · Contrast checker → · Palette generator →

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