#B671E8#B671E8

#B671E8 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.1% C 0.180 H 309.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B671E8
RGBrgb(182, 113, 232)
HSLhsl(275, 72%, 68%)
HSVhsv(275, 51%, 91%)
CMYKcmyk(21.6%, 51.3%, 0%, 9%)
CIE-LABlab(59.51, 48.47, -49.95)
CIE-LCHlch(59.51, 69.60, 314.14°)
OKLaboklab(67.12% 0.1138 -0.1399)
OKLCHoklch(67.12% 0.18 309.1)
XYZxyz(39.7592, 27.5821, 79.5577)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B671E8 #A3E871
analogous
#7B71E8 #B671E8 #E871DE
triadic
#B671E8 #E8B671 #71E8B6
tetradic
#B671E8 #E87B71 #A3E871 #71DEE8
square
#B671E8 #E87B71 #A3E871 #71DEE8
split-complementary
#B671E8 #DEE871 #71E87B
monochromatic
#7C1FC0 #9B3CDF #B671E8 #D1A6F1 #ECDAF9

Accessibility & contrast

On white

3.22
#B671E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B671E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B671E8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B671E8#FFFFFF#000000##000000
##B671E81.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEC
Deuteranopia (green-blind)
#6590E5
Tritanopia (blue-blind)
#AF85A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b671e8;
/* rgb */ color: rgb(182, 113, 232);
/* oklch */ color: oklch(67.1% 0.180 309.1);
Tailwind
colors: {
  custom: {
    50: '#ce9cf0',
    500: '#b671e8',
    950: '#000000',
  },
}
SCSS
$custom: #b671e8;
$custom-light: #ce9cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b671e8",
  "rgb": {
    "r": 182,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 274.79,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67116,
    "c": 0.1803,
    "h": 309.1
  },
  "luminance": 0.27582
}

Semantic roles & 50–950 ramp

primary
#B671E8
secondary
#D7EDC8
accent
#D41163
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B671E8

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

Preview Lab → · Contrast checker → · Palette generator →

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