#B974EE#B974EE

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

Color values

HEX#B974EE
RGBrgb(185, 116, 238)
HSLhsl(274, 78%, 69%)
HSVhsv(274, 51%, 93%)
CMYKcmyk(22.3%, 51.3%, 0%, 6.7%)
CIE-LABlab(60.76, 49.00, -51.28)
CIE-LCHlch(60.76, 70.93, 313.70°)
OKLaboklab(68.22% 0.1139 -0.1437)
OKLCHoklch(68.22% 0.183 308.4)
XYZxyz(41.6826, 28.9787, 84.2699)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B974EE #A9EE74
analogous
#7C74EE #B974EE #EE74E6
triadic
#B974EE #EEB974 #74EEB9
tetradic
#B974EE #EE7C74 #A9EE74 #74E6EE
square
#B974EE #EE7C74 #A9EE74 #74E6EE
split-complementary
#B974EE #E6EE74 #74EE7C
monochromatic
#8019CE #9E3DE7 #B974EE #D4ABF5 #F0E1FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B974EE#FFFFFF#000000##000000
##B974EE1.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)
#5190F2
Deuteranopia (green-blind)
#6693EB
Tritanopia (blue-blind)
#B289A6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b974ee;
/* rgb */ color: rgb(185, 116, 238);
/* oklch */ color: oklch(68.2% 0.183 308.4);
Tailwind
colors: {
  custom: {
    50: '#d19ef4',
    500: '#b974ee',
    950: '#000000',
  },
}
SCSS
$custom: #b974ee;
$custom-light: #d19ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#b974ee",
  "rgb": {
    "r": 185,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 273.934,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68219,
    "c": 0.18338,
    "h": 308.4
  },
  "luminance": 0.28978
}

Semantic roles & 50–950 ramp

primary
#B974EE
secondary
#DDF0CD
accent
#DA0B65
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B974EE

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

Preview Lab → · Contrast checker → · Palette generator →

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