#B875F5#B875F5

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

Color values

HEX#B875F5
RGBrgb(184, 117, 245)
HSLhsl(271, 86%, 71%)
HSVhsv(271, 52%, 96%)
CMYKcmyk(24.9%, 52.2%, 0%, 3.9%)
CIE-LABlab(61.23, 49.79, -54.42)
CIE-LCHlch(61.23, 73.77, 312.46°)
OKLaboklab(68.66% 0.112 -0.1529)
OKLCHoklch(68.66% 0.19 306.2)
XYZxyz(42.6065, 29.5059, 89.8191)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B875F5 #B2F575
analogous
#7875F5 #B875F5 #F575F2
triadic
#B875F5 #F5B875 #75F5B8
tetradic
#B875F5 #F57875 #B2F575 #75F2F5
square
#B875F5 #F57875 #B2F575 #75F2F5
split-complementary
#B875F5 #F2F575 #75F578
monochromatic
#7D10DF #9B3CF1 #B875F5 #D5AEF9 #F0E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B875F5#FFFFFF#000000##000000
##B875F51.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)
#4C92F9
Deuteranopia (green-blind)
#6294F2
Tritanopia (blue-blind)
#AE8CAA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b875f5;
/* rgb */ color: rgb(184, 117, 245);
/* oklch */ color: oklch(68.7% 0.190 306.2);
Tailwind
colors: {
  custom: {
    50: '#d09ff9',
    500: '#b875f5',
    950: '#000000',
  },
}
SCSS
$custom: #b875f5;
$custom-light: #d09ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b875f5",
  "rgb": {
    "r": 184,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 271.406,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68656,
    "c": 0.18951,
    "h": 306.2
  },
  "luminance": 0.29505
}

Semantic roles & 50–950 ramp

primary
#B875F5
secondary
#E2F4D2
accent
#E3026D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #B875F5

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

Preview Lab → · Contrast checker → · Palette generator →

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