#B874FA#B874FA

#B874FA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.8% C 0.197 H 305.2°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B874FA
RGBrgb(184, 116, 250)
HSLhsl(270, 93%, 72%)
HSVhsv(270, 54%, 98%)
CMYKcmyk(26.4%, 53.6%, 0%, 2%)
CIE-LABlab(61.29, 51.46, -57.08)
CIE-LCHlch(61.29, 76.85, 312.04°)
OKLaboklab(68.79% 0.1135 -0.1607)
OKLCHoklch(68.79% 0.197 305.2)
XYZxyz(43.2642, 29.5835, 93.8549)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B874FA #B6FA74
analogous
#7574FA #B874FA #FA74F9
triadic
#B874FA #FAB874 #74FAB8
tetradic
#B874FA #FA7574 #B6FA74 #74F9FA
square
#B874FA #FA7574 #B6FA74 #74F9FA
split-complementary
#B874FA #F9FA74 #74FA75
monochromatic
#7B08EB #9A39F8 #B874FA #D6AFFC #F0E1FE

Accessibility & contrast

On white

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

On black

6.92
#B874FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B874FA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B874FA#FFFFFF#000000##000000
##B874FA1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FE
Deuteranopia (green-blind)
#5D94F7
Tritanopia (blue-blind)
#AD8DAC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b874fa;
/* rgb */ color: rgb(184, 116, 250);
/* oklch */ color: oklch(68.8% 0.197 305.2);
Tailwind
colors: {
  custom: {
    50: '#d09efc',
    500: '#b874fa',
    950: '#000000',
  },
}
SCSS
$custom: #b874fa;
$custom-light: #d09efc;
$custom-dark: #000000;
JSON
{
  "hex": "#b874fa",
  "rgb": {
    "r": 184,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 270.448,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68793,
    "c": 0.19672,
    "h": 305.2
  },
  "luminance": 0.29583
}

Semantic roles & 50–950 ramp

primary
#B874FA
secondary
#E5F6D4
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #B874FA

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

Preview Lab → · Contrast checker → · Palette generator →

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