#B374F7#B374F7

#B374F7 is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.1% C 0.192 H 304.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B374F7
RGBrgb(179, 116, 247)
HSLhsl(269, 89%, 71%)
HSVhsv(269, 53%, 97%)
CMYKcmyk(27.5%, 53%, 0%, 3.1%)
CIE-LABlab(60.60, 49.53, -56.56)
CIE-LCHlch(60.60, 75.19, 311.21°)
OKLaboklab(68.11% 0.1073 -0.1593)
OKLCHoklch(68.11% 0.192 304)
XYZxyz(41.6206, 28.7900, 91.3420)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374F7 #B8F774
analogous
#7476F7 #B374F7 #F574F7
triadic
#B374F7 #F7B374 #74F7B3
tetradic
#B374F7 #F77476 #B8F774 #74F7F5
square
#B374F7 #F77476 #B8F774 #74F7F5
split-complementary
#B374F7 #F7F574 #76F774
monochromatic
#740DE4 #933AF4 #B374F7 #D3AEFA #EFE2FD

Accessibility & contrast

On white

3.11
#B374F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B374F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374F7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374F7#FFFFFF#000000##000000
##B374F71.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4691FB
Deuteranopia (green-blind)
#5B92F4
Tritanopia (blue-blind)
#A78DAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b374f7;
/* rgb */ color: rgb(179, 116, 247);
/* oklch */ color: oklch(68.1% 0.192 304.0);
Tailwind
colors: {
  custom: {
    50: '#cd9efa',
    500: '#b374f7',
    950: '#000000',
  },
}
SCSS
$custom: #b374f7;
$custom-light: #cd9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#b374f7",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 268.855,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68105,
    "c": 0.19204,
    "h": 304
  },
  "luminance": 0.2879
}

Semantic roles & 50–950 ramp

primary
#B374F7
secondary
#E4F5D2
accent
#E60077
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B374F7

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

Preview Lab → · Contrast checker → · Palette generator →

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