#B874FD#B874FD

#B874FD is a light, highly saturated violet. Relative luminance 0.298; OKLCH L 69.0% C 0.200 H 304.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B874FD
RGBrgb(184, 116, 253)
HSLhsl(270, 97%, 72%)
HSVhsv(270, 54%, 99%)
CMYKcmyk(27.3%, 54.2%, 0%, 0.8%)
CIE-LABlab(61.46, 52.15, -58.46)
CIE-LCHlch(61.46, 78.34, 311.73°)
OKLaboklab(68.97% 0.1137 -0.1647)
OKLCHoklch(68.97% 0.2 304.6)
XYZxyz(43.7383, 29.7732, 96.3520)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B874FD #B9FD74
analogous
#7475FD #B874FD #FC74FD
triadic
#B874FD #FDB874 #74FDB8
tetradic
#B874FD #FD7475 #B9FD74 #74FDFC
square
#B874FD #FD7475 #B9FD74 #74FDFC
split-complementary
#B874FD #FDFC74 #75FD74
monochromatic
#7A03F3 #9938FC #B874FD #D7B0FE #F0E1FF

Accessibility & contrast

On white

3.02
#B874FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B874FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B874FD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B874FD#FFFFFF#000000##000000
##B874FD1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#5A94FA
Tritanopia (blue-blind)
#AC8EAE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b874fd;
/* rgb */ color: rgb(184, 116, 253);
/* oklch */ color: oklch(69.0% 0.200 304.6);
Tailwind
colors: {
  custom: {
    50: '#d19eff',
    500: '#b874fd',
    950: '#000000',
  },
}
SCSS
$custom: #b874fd;
$custom-light: #d19eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b874fd",
  "rgb": {
    "r": 184,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 269.781,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68968,
    "c": 0.20013,
    "h": 304.6
  },
  "luminance": 0.29773
}

Semantic roles & 50–950 ramp

primary
#B874FD
secondary
#E6F7D4
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #B874FD

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

Preview Lab → · Contrast checker → · Palette generator →

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