#B875EC#B875EC

#B875EC is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.2% C 0.179 H 308.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B875EC
RGBrgb(184, 117, 236)
HSLhsl(274, 76%, 69%)
HSVhsv(274, 50%, 93%)
CMYKcmyk(22%, 50.4%, 0%, 7.5%)
CIE-LABlab(60.75, 47.77, -50.19)
CIE-LCHlch(60.75, 69.28, 313.59°)
OKLaboklab(68.16% 0.1112 -0.1405)
OKLCHoklch(68.16% 0.179 308.4)
XYZxyz(41.2658, 28.9696, 82.7584)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B875EC #A9EC75
analogous
#7D75EC #B875EC #EC75E4
triadic
#B875EC #ECB875 #75ECB8
tetradic
#B875EC #EC7D75 #A9EC75 #75E4EC
square
#B875EC #EC7D75 #A9EC75 #75E4EC
split-complementary
#B875EC #E4EC75 #75EC7D
monochromatic
#7E1CCB #9C3FE5 #B875EC #D4ABF3 #EFE1FB

Accessibility & contrast

On white

3.09
#B875EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B875EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B875EC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B875EC#FFFFFF#000000##000000
##B875EC1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#6893E9
Tritanopia (blue-blind)
#B189A6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b875ec;
/* rgb */ color: rgb(184, 117, 236);
/* oklch */ color: oklch(68.2% 0.179 308.4);
Tailwind
colors: {
  custom: {
    50: '#d09ff3',
    500: '#b875ec',
    950: '#000000',
  },
}
SCSS
$custom: #b875ec;
$custom-light: #d09ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#b875ec",
  "rgb": {
    "r": 184,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 273.782,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68155,
    "c": 0.17924,
    "h": 308.4
  },
  "luminance": 0.28969
}

Semantic roles & 50–950 ramp

primary
#B875EC
secondary
#DCF0CD
accent
#D80E66
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #B875EC

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

Preview Lab → · Contrast checker → · Palette generator →

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