#B374FA#B374FA

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

Color values

HEX#B374FA
RGBrgb(179, 116, 250)
HSLhsl(268, 93%, 72%)
HSVhsv(268, 54%, 98%)
CMYKcmyk(28.4%, 53.6%, 0%, 2%)
CIE-LABlab(60.76, 50.24, -57.96)
CIE-LCHlch(60.76, 76.70, 310.92°)
OKLaboklab(68.28% 0.1074 -0.1634)
OKLCHoklch(68.28% 0.196 303.3)
XYZxyz(42.0873, 28.9767, 93.7997)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374FA #BBFA74
analogous
#7478FA #B374FA #F674FA
triadic
#B374FA #FAB374 #74FAB3
tetradic
#B374FA #FA7478 #BBFA74 #74FAF6
square
#B374FA #FA7478 #BBFA74 #74FAF6
split-complementary
#B374FA #FAF674 #78FA74
monochromatic
#7308EB #9339F8 #B374FA #D3AFFC #EFE1FE

Accessibility & contrast

On white

3.09
#B374FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#B374FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374FA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374FA#FFFFFF#000000##000000
##B374FA1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FE
Deuteranopia (green-blind)
#5892F7
Tritanopia (blue-blind)
#A68DAC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b374fa;
/* rgb */ color: rgb(179, 116, 250);
/* oklch */ color: oklch(68.3% 0.196 303.3);
Tailwind
colors: {
  custom: {
    50: '#cd9efc',
    500: '#b374fa',
    950: '#000000',
  },
}
SCSS
$custom: #b374fa;
$custom-light: #cd9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#b374fa",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 268.209,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6828,
    "c": 0.19551,
    "h": 303.3
  },
  "luminance": 0.28977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B374FA

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

Preview Lab → · Contrast checker → · Palette generator →

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