#B479FC#B479FC

#B479FC is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.3% C 0.191 H 302.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B479FC
RGBrgb(180, 121, 252)
HSLhsl(267, 96%, 73%)
HSVhsv(267, 52%, 99%)
CMYKcmyk(28.6%, 52%, 0%, 1.2%)
CIE-LABlab(62.00, 48.29, -57.07)
CIE-LCHlch(62.00, 74.76, 310.24°)
OKLaboklab(69.26% 0.1024 -0.1608)
OKLCHoklch(69.26% 0.191 302.5)
XYZxyz(43.2265, 30.4063, 95.6683)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B479FC #C1FC79
analogous
#797FFC #B479FC #F579FC
triadic
#B479FC #FCB479 #79FCB4
tetradic
#B479FC #FC797F #C1FC79 #79FCF5
square
#B479FC #FC797F #C1FC79 #79FCF5
split-complementary
#B479FC #FCF579 #7FFC79
monochromatic
#7105F5 #923DFB #B479FC #D6B5FD #EEE1FE

Accessibility & contrast

On white

2.97
#B479FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B479FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B479FC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B479FC#FFFFFF#000000##000000
##B479FC1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#5D95F9
Tritanopia (blue-blind)
#A792AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b479fc;
/* rgb */ color: rgb(180, 121, 252);
/* oklch */ color: oklch(69.3% 0.191 302.5);
Tailwind
colors: {
  custom: {
    50: '#cea1fe',
    500: '#b479fc',
    950: '#000000',
  },
}
SCSS
$custom: #b479fc;
$custom-light: #cea1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b479fc",
  "rgb": {
    "r": 180,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 267.023,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69257,
    "c": 0.19062,
    "h": 302.5
  },
  "luminance": 0.30406
}

Semantic roles & 50–950 ramp

primary
#B479FC
secondary
#E7F7D4
accent
#E6007E
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B479FC

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

Preview Lab → · Contrast checker → · Palette generator →

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