#B374F9#B374F9

#B374F9 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.2% C 0.194 H 303.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B374F9
RGBrgb(179, 116, 249)
HSLhsl(268, 92%, 72%)
HSVhsv(268, 53%, 98%)
CMYKcmyk(28.1%, 53.4%, 0%, 2.4%)
CIE-LABlab(60.71, 50.00, -57.49)
CIE-LCHlch(60.71, 76.19, 311.01°)
OKLaboklab(68.22% 0.1074 -0.162)
OKLCHoklch(68.22% 0.194 303.5)
XYZxyz(41.9309, 28.9141, 92.9761)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374F9 #BAF974
analogous
#7478F9 #B374F9 #F574F9
triadic
#B374F9 #F9B374 #74F9B3
tetradic
#B374F9 #F97478 #BAF974 #74F9F5
square
#B374F9 #F97478 #BAF974 #74F9F5
split-complementary
#B374F9 #F9F574 #78F974
monochromatic
#730AE9 #9339F6 #B374F9 #D3AFFC #EFE2FE

Accessibility & contrast

On white

3.10
#B374F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B374F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374F9
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374F9#FFFFFF#000000##000000
##B374F91.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FD
Deuteranopia (green-blind)
#5992F6
Tritanopia (blue-blind)
#A68DAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b374f9;
/* rgb */ color: rgb(179, 116, 249);
/* oklch */ color: oklch(68.2% 0.194 303.5);
Tailwind
colors: {
  custom: {
    50: '#cd9efc',
    500: '#b374f9',
    950: '#000000',
  },
}
SCSS
$custom: #b374f9;
$custom-light: #cd9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#b374f9",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 268.421,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68222,
    "c": 0.19436,
    "h": 303.5
  },
  "luminance": 0.28914
}

Semantic roles & 50–950 ramp

primary
#B374F9
secondary
#E5F5D3
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B374F9

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

Preview Lab → · Contrast checker → · Palette generator →

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