#B874F7#B874F7

#B874F7 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.6% C 0.193 H 305.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#B874F7
RGBrgb(184, 116, 247)
HSLhsl(271, 89%, 71%)
HSVhsv(271, 53%, 97%)
CMYKcmyk(25.5%, 53%, 0%, 3.1%)
CIE-LABlab(61.13, 50.78, -55.68)
CIE-LCHlch(61.13, 75.36, 312.36°)
OKLaboklab(68.62% 0.1134 -0.1566)
OKLCHoklch(68.62% 0.193 305.9)
XYZxyz(42.7975, 29.3969, 91.3972)
Luminance0.2940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B874F7 #B3F774
analogous
#7674F7 #B874F7 #F774F5
triadic
#B874F7 #F7B874 #74F7B8
tetradic
#B874F7 #F77674 #B3F774 #74F5F7
square
#B874F7 #F77674 #B3F774 #74F5F7
split-complementary
#B874F7 #F5F774 #74F776
monochromatic
#7C0DE4 #9A3AF4 #B874F7 #D6AEFA #F0E2FD

Accessibility & contrast

On white

3.05
#B874F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#B874F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B874F7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B874F7#FFFFFF#000000##000000
##B874F71.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#AE8CAB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b874f7;
/* rgb */ color: rgb(184, 116, 247);
/* oklch */ color: oklch(68.6% 0.193 305.9);
Tailwind
colors: {
  custom: {
    50: '#d09efa',
    500: '#b874f7',
    950: '#000000',
  },
}
SCSS
$custom: #b874f7;
$custom-light: #d09efa;
$custom-dark: #000000;
JSON
{
  "hex": "#b874f7",
  "rgb": {
    "r": 184,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 271.145,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6862,
    "c": 0.19331,
    "h": 305.9
  },
  "luminance": 0.29397
}

Semantic roles & 50–950 ramp

primary
#B874F7
secondary
#E3F5D2
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #B874F7

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

Preview Lab → · Contrast checker → · Palette generator →

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