#B479EB#B479EB

#B479EB is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.3% C 0.171 H 306.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#B479EB
RGBrgb(180, 121, 235)
HSLhsl(271, 74%, 70%)
HSVhsv(271, 49%, 92%)
CMYKcmyk(23.4%, 48.5%, 0%, 7.8%)
CIE-LABlab(61.11, 44.34, -49.09)
CIE-LCHlch(61.11, 66.15, 312.09°)
OKLaboklab(68.31% 0.101 -0.1375)
OKLCHoklch(68.31% 0.171 306.3)
XYZxyz(40.6521, 29.3765, 82.1098)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B479EB #B0EB79
analogous
#7B79EB #B479EB #EB79E9
triadic
#B479EB #EBB479 #79EBB4
tetradic
#B479EB #EB7B79 #B0EB79 #79E9EB
square
#B479EB #EB7B79 #B0EB79 #79E9EB
split-complementary
#B479EB #E9EB79 #79EB7B
monochromatic
#781ECB #9644E3 #B479EB #D2AEF3 #F0E4FB

Accessibility & contrast

On white

3.05
#B479EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#B479EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B479EB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B479EB#FFFFFF#000000##000000
##B479EB1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#AB8DA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b479eb;
/* rgb */ color: rgb(180, 121, 235);
/* oklch */ color: oklch(68.3% 0.171 306.3);
Tailwind
colors: {
  custom: {
    50: '#cda1f2',
    500: '#b479eb',
    950: '#000000',
  },
}
SCSS
$custom: #b479eb;
$custom-light: #cda1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b479eb",
  "rgb": {
    "r": 180,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 271.053,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68307,
    "c": 0.17056,
    "h": 306.3
  },
  "luminance": 0.29376
}

Semantic roles & 50–950 ramp

primary
#B479EB
secondary
#DFF0D0
accent
#D60F6F
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B479EB

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

Preview Lab → · Contrast checker → · Palette generator →

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