#B479FA#B479FA

#B479FA is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.188 H 302.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B479FA
RGBrgb(180, 121, 250)
HSLhsl(267, 93%, 73%)
HSVhsv(267, 52%, 98%)
CMYKcmyk(28%, 51.6%, 0%, 2%)
CIE-LABlab(61.90, 47.82, -56.14)
CIE-LCHlch(61.90, 73.74, 310.42°)
OKLaboklab(69.14% 0.1023 -0.158)
OKLCHoklch(69.14% 0.188 302.9)
XYZxyz(42.9112, 30.2802, 94.0079)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B479FA #BFFA79
analogous
#797EFA #B479FA #F579FA
triadic
#B479FA #FAB479 #79FAB4
tetradic
#B479FA #FA797E #BFFA79 #79FAF5
square
#B479FA #FA797E #BFFA79 #79FAF5
split-complementary
#B479FA #FAF579 #7EFA79
monochromatic
#7209F0 #933EF8 #B479FA #D5B4FC #EEE2FE

Accessibility & contrast

On white

2.98
#B479FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B479FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B479FA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B479FA#FFFFFF#000000##000000
##B479FA1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#5F95F7
Tritanopia (blue-blind)
#A791AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b479fa;
/* rgb */ color: rgb(180, 121, 250);
/* oklch */ color: oklch(69.1% 0.188 302.9);
Tailwind
colors: {
  custom: {
    50: '#cea1fc',
    500: '#b479fa',
    950: '#000000',
  },
}
SCSS
$custom: #b479fa;
$custom-light: #cea1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b479fa",
  "rgb": {
    "r": 180,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 267.442,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69142,
    "c": 0.18827,
    "h": 302.9
  },
  "luminance": 0.3028
}

Semantic roles & 50–950 ramp

primary
#B479FA
secondary
#E7F6D5
accent
#E6007D
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B479FA

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

Preview Lab → · Contrast checker → · Palette generator →

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