#B374F2#B374F2

#B374F2 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.8% C 0.186 H 305.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B374F2
RGBrgb(179, 116, 242)
HSLhsl(270, 83%, 70%)
HSVhsv(270, 52%, 95%)
CMYKcmyk(26%, 52.1%, 0%, 5.1%)
CIE-LABlab(60.32, 48.37, -54.23)
CIE-LCHlch(60.32, 72.67, 311.73°)
OKLaboklab(67.82% 0.107 -0.1525)
OKLCHoklch(67.82% 0.186 305)
XYZxyz(40.8594, 28.4855, 87.3329)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374F2 #B3F274
analogous
#7474F2 #B374F2 #F274F2
triadic
#B374F2 #F2B374 #74F2B3
tetradic
#B374F2 #F27474 #B3F274 #74F2F2
square
#B374F2 #F27474 #B3F274 #74F2F2
split-complementary
#B374F2 #F2F274 #74F274
monochromatic
#7614D7 #943CED #B374F2 #D2ACF7 #F0E3FC

Accessibility & contrast

On white

3.14
#B374F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B374F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374F2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374F2#FFFFFF#000000##000000
##B374F21.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B90F6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#A88BA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b374f2;
/* rgb */ color: rgb(179, 116, 242);
/* oklch */ color: oklch(67.8% 0.186 305.0);
Tailwind
colors: {
  custom: {
    50: '#cd9ef7',
    500: '#b374f2',
    950: '#000000',
  },
}
SCSS
$custom: #b374f2;
$custom-light: #cd9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b374f2",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 270,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67817,
    "c": 0.18624,
    "h": 305
  },
  "luminance": 0.28485
}

Semantic roles & 50–950 ramp

primary
#B374F2
secondary
#E1F2CF
accent
#DF0673
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B374F2

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

Preview Lab → · Contrast checker → · Palette generator →

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