#B874F9#B874F9

#B874F9 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.7% C 0.196 H 305.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B874F9
RGBrgb(184, 116, 249)
HSLhsl(271, 92%, 72%)
HSVhsv(271, 53%, 98%)
CMYKcmyk(26.1%, 53.4%, 0%, 2.4%)
CIE-LABlab(61.24, 51.23, -56.61)
CIE-LCHlch(61.24, 76.35, 312.14°)
OKLaboklab(68.74% 0.1135 -0.1593)
OKLCHoklch(68.74% 0.196 305.5)
XYZxyz(43.1078, 29.5210, 93.0313)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B874F9 #B5F974
analogous
#7674F9 #B874F9 #F974F7
triadic
#B874F9 #F9B874 #74F9B8
tetradic
#B874F9 #F97674 #B5F974 #74F7F9
square
#B874F9 #F97674 #B5F974 #74F7F9
split-complementary
#B874F9 #F7F974 #74F976
monochromatic
#7C0AE9 #9A39F6 #B874F9 #D6AFFC #F0E2FE

Accessibility & contrast

On white

3.04
#B874F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B874F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B874F9
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B874F9#FFFFFF#000000##000000
##B874F91.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FD
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#AD8DAC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b874f9;
/* rgb */ color: rgb(184, 116, 249);
/* oklch */ color: oklch(68.7% 0.196 305.5);
Tailwind
colors: {
  custom: {
    50: '#d09efc',
    500: '#b874f9',
    950: '#000000',
  },
}
SCSS
$custom: #b874f9;
$custom-light: #d09efc;
$custom-dark: #000000;
JSON
{
  "hex": "#b874f9",
  "rgb": {
    "r": 184,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 270.677,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68735,
    "c": 0.19558,
    "h": 305.5
  },
  "luminance": 0.29521
}

Semantic roles & 50–950 ramp

primary
#B874F9
secondary
#E4F5D3
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #B874F9

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

Preview Lab → · Contrast checker → · Palette generator →

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