#B671F7#B671F7

#B671F7 is a light, vivid violet. Relative luminance 0.285; OKLCH L 68.0% C 0.197 H 305.6°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B671F7
RGBrgb(182, 113, 247)
HSLhsl(271, 89%, 71%)
HSVhsv(271, 54%, 97%)
CMYKcmyk(26.3%, 54.3%, 0%, 3.1%)
CIE-LABlab(60.31, 51.85, -57.00)
CIE-LCHlch(60.31, 77.05, 312.29°)
OKLaboklab(67.97% 0.1147 -0.1605)
OKLCHoklch(67.97% 0.197 305.6)
XYZxyz(41.9815, 28.4710, 91.2615)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B671F7 #B2F771
analogous
#7371F7 #B671F7 #F771F5
triadic
#B671F7 #F7B671 #71F7B6
tetradic
#B671F7 #F77371 #B2F771 #71F5F7
square
#B671F7 #F77371 #B2F771 #71F5F7
split-complementary
#B671F7 #F5F771 #71F773
monochromatic
#7A0DE1 #9837F4 #B671F7 #D4ABFA #F0E2FD

Accessibility & contrast

On white

3.14
#B671F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#B671F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B671F7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B671F7#FFFFFF#000000##000000
##B671F71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#AB8AA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b671f7;
/* rgb */ color: rgb(182, 113, 247);
/* oklch */ color: oklch(68.0% 0.197 305.6);
Tailwind
colors: {
  custom: {
    50: '#cf9cfa',
    500: '#b671f7',
    950: '#000000',
  },
}
SCSS
$custom: #b671f7;
$custom-light: #cf9cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b671f7",
  "rgb": {
    "r": 182,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 270.896,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67968,
    "c": 0.19726,
    "h": 305.6
  },
  "luminance": 0.28471
}

Semantic roles & 50–950 ramp

primary
#B671F7
secondary
#E1F4D0
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B671F7

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

Preview Lab → · Contrast checker → · Palette generator →

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