#B874F5#B874F5

#B874F5 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.5% C 0.191 H 306.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#B874F5
RGBrgb(184, 116, 245)
HSLhsl(272, 87%, 71%)
HSVhsv(272, 53%, 96%)
CMYKcmyk(24.9%, 52.7%, 0%, 3.9%)
CIE-LABlab(61.02, 50.32, -54.75)
CIE-LCHlch(61.02, 74.36, 312.59°)
OKLaboklab(68.51% 0.1132 -0.1538)
OKLCHoklch(68.51% 0.191 306.4)
XYZxyz(42.4906, 29.2741, 89.7805)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B874F5 #B1F574
analogous
#7774F5 #B874F5 #F574F1
triadic
#B874F5 #F5B874 #74F5B8
tetradic
#B874F5 #F57774 #B1F574 #74F1F5
square
#B874F5 #F57774 #B1F574 #74F1F5
split-complementary
#B874F5 #F1F574 #74F577
monochromatic
#7D10DF #9B3BF1 #B874F5 #D5ADF9 #F0E2FD

Accessibility & contrast

On white

3.06
#B874F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#B874F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B874F5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B874F5#FFFFFF#000000##000000
##B874F51.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F9
Deuteranopia (green-blind)
#6094F2
Tritanopia (blue-blind)
#AE8BAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b874f5;
/* rgb */ color: rgb(184, 116, 245);
/* oklch */ color: oklch(68.5% 0.191 306.4);
Tailwind
colors: {
  custom: {
    50: '#d09ef9',
    500: '#b874f5',
    950: '#000000',
  },
}
SCSS
$custom: #b874f5;
$custom-light: #d09ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b874f5",
  "rgb": {
    "r": 184,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 271.628,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68506,
    "c": 0.19103,
    "h": 306.4
  },
  "luminance": 0.29274
}

Semantic roles & 50–950 ramp

primary
#B874F5
secondary
#E1F4D1
accent
#E3026D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B874F5

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

Preview Lab → · Contrast checker → · Palette generator →

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