#B874F8#B874F8

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

Color values

HEX#B874F8
RGBrgb(184, 116, 248)
HSLhsl(271, 90%, 71%)
HSVhsv(271, 53%, 97%)
CMYKcmyk(25.8%, 53.2%, 0%, 2.7%)
CIE-LABlab(61.18, 51.00, -56.15)
CIE-LCHlch(61.18, 75.85, 312.25°)
OKLaboklab(68.68% 0.1134 -0.1579)
OKLCHoklch(68.68% 0.194 305.7)
XYZxyz(42.9523, 29.4588, 92.2121)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B874F8 #B4F874
analogous
#7674F8 #B874F8 #F874F6
triadic
#B874F8 #F8B874 #74F8B8
tetradic
#B874F8 #F87674 #B4F874 #74F6F8
square
#B874F8 #F87674 #B4F874 #74F6F8
split-complementary
#B874F8 #F6F874 #74F876
monochromatic
#7C0CE6 #9A3AF5 #B874F8 #D6AEFB #F0E2FE

Accessibility & contrast

On white

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

On black

6.89
#B874F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B874F8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B874F8#FFFFFF#000000##000000
##B874F81.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FC
Deuteranopia (green-blind)
#5E94F5
Tritanopia (blue-blind)
#AE8CAB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b874f8;
/* rgb */ color: rgb(184, 116, 248);
/* oklch */ color: oklch(68.7% 0.194 305.7);
Tailwind
colors: {
  custom: {
    50: '#d09efb',
    500: '#b874f8',
    950: '#000000',
  },
}
SCSS
$custom: #b874f8;
$custom-light: #d09efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b874f8",
  "rgb": {
    "r": 184,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 270.909,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68678,
    "c": 0.19444,
    "h": 305.7
  },
  "luminance": 0.29458
}

Semantic roles & 50–950 ramp

primary
#B874F8
secondary
#E3F5D3
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #B874F8

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

Preview Lab → · Contrast checker → · Palette generator →

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