#B974EB#B974EB

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

Color values

HEX#B974EB
RGBrgb(185, 116, 235)
HSLhsl(275, 75%, 69%)
HSVhsv(275, 51%, 92%)
CMYKcmyk(21.3%, 50.6%, 0%, 7.8%)
CIE-LABlab(60.61, 48.34, -49.86)
CIE-LCHlch(60.61, 69.44, 314.11°)
OKLaboklab(68.05% 0.1137 -0.1395)
OKLCHoklch(68.05% 0.18 309.2)
XYZxyz(41.2455, 28.8039, 81.9680)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B974EB #A6EB74
analogous
#7E74EB #B974EB #EB74E2
triadic
#B974EB #EBB974 #74EBB9
tetradic
#B974EB #EB7E74 #A6EB74 #74E2EB
square
#B974EB #EB7E74 #A6EB74 #74E2EB
split-complementary
#B974EB #E2EB74 #74EB7E
monochromatic
#801DC8 #9E3EE3 #B974EB #D4AAF3 #EFDFFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B974EB#FFFFFF#000000##000000
##B974EB1.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)
#538FEF
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#B288A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b974eb;
/* rgb */ color: rgb(185, 116, 235);
/* oklch */ color: oklch(68.1% 0.180 309.2);
Tailwind
colors: {
  custom: {
    50: '#d09ef2',
    500: '#b974eb',
    950: '#000000',
  },
}
SCSS
$custom: #b974eb;
$custom-light: #d09ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b974eb",
  "rgb": {
    "r": 185,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 274.79,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68054,
    "c": 0.17999,
    "h": 309.2
  },
  "luminance": 0.28803
}

Semantic roles & 50–950 ramp

primary
#B974EB
secondary
#DBEFCC
accent
#D70F63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B974EB

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

Preview Lab → · Contrast checker → · Palette generator →

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