#B671F8#B671F8

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

Color values

HEX#B671F8
RGBrgb(182, 113, 248)
HSLhsl(271, 91%, 71%)
HSVhsv(271, 54%, 97%)
CMYKcmyk(26.6%, 54.4%, 0%, 2.7%)
CIE-LABlab(60.37, 52.08, -57.46)
CIE-LCHlch(60.37, 77.55, 312.19°)
OKLaboklab(68.03% 0.1148 -0.1618)
OKLCHoklch(68.03% 0.198 305.3)
XYZxyz(42.1362, 28.5329, 92.0763)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B671F8 #B3F871
analogous
#7271F8 #B671F8 #F871F6
triadic
#B671F8 #F8B671 #71F8B6
tetradic
#B671F8 #F87271 #B3F871 #71F6F8
square
#B671F8 #F87271 #B3F871 #71F6F8
split-complementary
#B671F8 #F6F871 #71F872
monochromatic
#7A0BE3 #9837F5 #B671F8 #D4ABFB #F0E2FE

Accessibility & contrast

On white

3.13
#B671F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B671F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B671F8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B671F8#FFFFFF#000000##000000
##B671F81.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#AB8AAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b671f8;
/* rgb */ color: rgb(182, 113, 248);
/* oklch */ color: oklch(68.0% 0.198 305.3);
Tailwind
colors: {
  custom: {
    50: '#cf9cfb',
    500: '#b671f8',
    950: '#000000',
  },
}
SCSS
$custom: #b671f8;
$custom-light: #cf9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b671f8",
  "rgb": {
    "r": 182,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 270.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68027,
    "c": 0.19839,
    "h": 305.3
  },
  "luminance": 0.28533
}

Semantic roles & 50–950 ramp

primary
#B671F8
secondary
#E2F5D0
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B671F8

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

Preview Lab → · Contrast checker → · Palette generator →

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