#B671F5#B671F5

#B671F5 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.9% C 0.195 H 306.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B671F5
RGBrgb(182, 113, 245)
HSLhsl(271, 87%, 70%)
HSVhsv(271, 54%, 96%)
CMYKcmyk(25.7%, 53.9%, 0%, 3.9%)
CIE-LABlab(60.20, 51.39, -56.07)
CIE-LCHlch(60.20, 76.06, 312.51°)
OKLaboklab(67.85% 0.1146 -0.1577)
OKLCHoklch(67.85% 0.195 306)
XYZxyz(41.6745, 28.3482, 89.6448)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B671F5 #B0F571
analogous
#7471F5 #B671F5 #F571F2
triadic
#B671F5 #F5B671 #71F5B6
tetradic
#B671F5 #F57471 #B0F571 #71F2F5
square
#B671F5 #F57471 #B0F571 #71F2F5
split-complementary
#B671F5 #F2F571 #71F574
monochromatic
#7A10DC #9938F1 #B671F5 #D3AAF9 #F0E2FD

Accessibility & contrast

On white

3.15
#B671F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#B671F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B671F5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B671F5#FFFFFF#000000##000000
##B671F51.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FF9
Deuteranopia (green-blind)
#5B92F2
Tritanopia (blue-blind)
#AC89A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b671f5;
/* rgb */ color: rgb(182, 113, 245);
/* oklch */ color: oklch(67.9% 0.195 306.0);
Tailwind
colors: {
  custom: {
    50: '#cf9cf9',
    500: '#b671f5',
    950: '#000000',
  },
}
SCSS
$custom: #b671f5;
$custom-light: #cf9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b671f5",
  "rgb": {
    "r": 182,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 271.364,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67852,
    "c": 0.19499,
    "h": 306
  },
  "luminance": 0.28348
}

Semantic roles & 50–950 ramp

primary
#B671F5
secondary
#E0F3CF
accent
#E3026E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B671F5

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

Preview Lab → · Contrast checker → · Palette generator →

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