#B974EA#B974EA

#B974EA is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.179 H 309.4°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#B974EA
RGBrgb(185, 116, 234)
HSLhsl(275, 74%, 69%)
HSVhsv(275, 50%, 92%)
CMYKcmyk(20.9%, 50.4%, 0%, 8.2%)
CIE-LABlab(60.56, 48.12, -49.38)
CIE-LCHlch(60.56, 68.95, 314.26°)
OKLaboklab(68% 0.1136 -0.1382)
OKLCHoklch(68% 0.179 309.4)
XYZxyz(41.1014, 28.7462, 81.2093)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B974EA #A5EA74
analogous
#7E74EA #B974EA #EA74E0
triadic
#B974EA #EAB974 #74EAB9
tetradic
#B974EA #EA7E74 #A5EA74 #74E0EA
square
#B974EA #EA7E74 #A5EA74 #74E0EA
split-complementary
#B974EA #E0EA74 #74EA7E
monochromatic
#801EC6 #9E3FE2 #B974EA #D4A9F2 #EFDEFA

Accessibility & contrast

On white

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

On black

6.75
#B974EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B974EA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B974EA#FFFFFF#000000##000000
##B974EA1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#6993E7
Tritanopia (blue-blind)
#B388A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b974ea;
/* rgb */ color: rgb(185, 116, 234);
/* oklch */ color: oklch(68.0% 0.179 309.4);
Tailwind
colors: {
  custom: {
    50: '#d09ef1',
    500: '#b974ea',
    950: '#000000',
  },
}
SCSS
$custom: #b974ea;
$custom-light: #d09ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b974ea",
  "rgb": {
    "r": 185,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 275.085,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68,
    "c": 0.17885,
    "h": 309.4
  },
  "luminance": 0.28746
}

Semantic roles & 50–950 ramp

primary
#B974EA
secondary
#DAEFCB
accent
#D61062
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B974EA

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

Preview Lab → · Contrast checker → · Palette generator →

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