#B479F2#B479F2

#B479F2 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.179 H 304.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B479F2
RGBrgb(180, 121, 242)
HSLhsl(269, 82%, 71%)
HSVhsv(269, 50%, 95%)
CMYKcmyk(25.6%, 50%, 0%, 5.1%)
CIE-LABlab(61.47, 45.95, -52.40)
CIE-LCHlch(61.47, 69.69, 311.25°)
OKLaboklab(68.69% 0.1017 -0.1471)
OKLCHoklch(68.69% 0.179 304.6)
XYZxyz(41.6833, 29.7890, 87.5411)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B479F2 #B7F279
analogous
#797AF2 #B479F2 #F079F2
triadic
#B479F2 #F2B479 #79F2B4
tetradic
#B479F2 #F2797A #B7F279 #79F2F0
square
#B479F2 #F2797A #B7F279 #79F2F0
split-complementary
#B479F2 #F2F079 #7AF279
monochromatic
#7615DB #9541ED #B479F2 #D3B1F7 #EFE3FC

Accessibility & contrast

On white

3.02
#B479F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B479F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B479F2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B479F2#FFFFFF#000000##000000
##B479F21.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#6595EF
Tritanopia (blue-blind)
#AA8FAA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b479f2;
/* rgb */ color: rgb(180, 121, 242);
/* oklch */ color: oklch(68.7% 0.179 304.6);
Tailwind
colors: {
  custom: {
    50: '#cda1f7',
    500: '#b479f2',
    950: '#000000',
  },
}
SCSS
$custom: #b479f2;
$custom-light: #cda1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b479f2",
  "rgb": {
    "r": 180,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 269.256,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68691,
    "c": 0.17882,
    "h": 304.6
  },
  "luminance": 0.29789
}

Semantic roles & 50–950 ramp

primary
#B479F2
secondary
#E4F3D3
accent
#DF0775
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B479F2

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

Preview Lab → · Contrast checker → · Palette generator →

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