#B671E2#B671E2

#B671E2 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.8% C 0.174 H 310.7°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B671E2
RGBrgb(182, 113, 226)
HSLhsl(277, 66%, 66%)
HSVhsv(277, 50%, 89%)
CMYKcmyk(19.5%, 50%, 0%, 11.4%)
CIE-LABlab(59.20, 47.15, -47.08)
CIE-LCHlch(59.20, 66.63, 315.04°)
OKLaboklab(66.79% 0.1132 -0.1315)
OKLCHoklch(66.79% 0.174 310.7)
XYZxyz(38.9215, 27.2470, 75.1456)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B671E2 #9DE271
analogous
#7E71E2 #B671E2 #E271D6
triadic
#B671E2 #E2B671 #71E2B6
tetradic
#B671E2 #E27E71 #9DE271 #71D6E2
square
#B671E2 #E27E71 #9DE271 #71D6E2
split-complementary
#B671E2 #D6E271 #71E27E
monochromatic
#7C25B4 #9C3ED8 #B671E2 #D0A4EC #EAD7F7

Accessibility & contrast

On white

3.26
#B671E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B671E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B671E2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B671E2#FFFFFF#000000##000000
##B671E21.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE6
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#B1849F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b671e2;
/* rgb */ color: rgb(182, 113, 226);
/* oklch */ color: oklch(66.8% 0.174 310.7);
Tailwind
colors: {
  custom: {
    50: '#ce9ceb',
    500: '#b671e2',
    950: '#000000',
  },
}
SCSS
$custom: #b671e2;
$custom-light: #ce9ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#b671e2",
  "rgb": {
    "r": 182,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 276.637,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66789,
    "c": 0.17353,
    "h": 310.7
  },
  "luminance": 0.27246
}

Semantic roles & 50–950 ramp

primary
#B671E2
secondary
#D3EAC5
accent
#CE185F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B671E2

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

Preview Lab → · Contrast checker → · Palette generator →

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