#B471EF#B471EF

#B471EF is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.3% C 0.188 H 306.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B471EF
RGBrgb(180, 113, 239)
HSLhsl(272, 80%, 69%)
HSVhsv(272, 53%, 94%)
CMYKcmyk(24.7%, 52.7%, 0%, 6.3%)
CIE-LABlab(59.66, 49.53, -53.62)
CIE-LCHlch(59.66, 72.99, 312.73°)
OKLaboklab(67.3% 0.1118 -0.1506)
OKLCHoklch(67.3% 0.188 306.6)
XYZxyz(40.3043, 27.7459, 84.8768)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B471EF #ACEF71
analogous
#7571EF #B471EF #EF71EB
triadic
#B471EF #EFB471 #71EFB4
tetradic
#B471EF #EF7571 #ACEF71 #71EBEF
square
#B471EF #EF7571 #ACEF71 #71EBEF
split-complementary
#B471EF #EBEF71 #71EF75
monochromatic
#7917CE #973AE9 #B471EF #D1A8F5 #EEDFFB

Accessibility & contrast

On white

3.21
#B471EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B471EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B471EF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B471EF#FFFFFF#000000##000000
##B471EF1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#AB88A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b471ef;
/* rgb */ color: rgb(180, 113, 239);
/* oklch */ color: oklch(67.3% 0.188 306.6);
Tailwind
colors: {
  custom: {
    50: '#cd9cf5',
    500: '#b471ef',
    950: '#000000',
  },
}
SCSS
$custom: #b471ef;
$custom-light: #cd9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b471ef",
  "rgb": {
    "r": 180,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 271.905,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67297,
    "c": 0.18763,
    "h": 306.6
  },
  "luminance": 0.27746
}

Semantic roles & 50–950 ramp

primary
#B471EF
secondary
#DDF0CB
accent
#DC096C
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B471EF

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

Preview Lab → · Contrast checker → · Palette generator →

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