#B474FA#B474FA

#B474FA is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.4% C 0.196 H 303.7°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B474FA
RGBrgb(180, 116, 250)
HSLhsl(269, 93%, 72%)
HSVhsv(269, 54%, 98%)
CMYKcmyk(28%, 53.6%, 0%, 2%)
CIE-LABlab(60.87, 50.48, -57.78)
CIE-LCHlch(60.87, 76.73, 311.14°)
OKLaboklab(68.38% 0.1086 -0.1628)
OKLCHoklch(68.38% 0.196 303.7)
XYZxyz(42.3193, 29.0963, 93.8106)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474FA #BAFA74
analogous
#7477FA #B474FA #F774FA
triadic
#B474FA #FAB474 #74FAB4
tetradic
#B474FA #FA7477 #BAFA74 #74FAF7
square
#B474FA #FA7477 #BAFA74 #74FAF7
split-complementary
#B474FA #FAF774 #77FA74
monochromatic
#7508EB #9439F8 #B474FA #D4AFFC #EFE1FE

Accessibility & contrast

On white

3.08
#B474FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#B474FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474FA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474FA#FFFFFF#000000##000000
##B474FA1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FE
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#A78DAC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b474fa;
/* rgb */ color: rgb(180, 116, 250);
/* oklch */ color: oklch(68.4% 0.196 303.7);
Tailwind
colors: {
  custom: {
    50: '#ce9efc',
    500: '#b474fa',
    950: '#000000',
  },
}
SCSS
$custom: #b474fa;
$custom-light: #ce9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#b474fa",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 268.657,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68382,
    "c": 0.19574,
    "h": 303.7
  },
  "luminance": 0.29096
}

Semantic roles & 50–950 ramp

primary
#B474FA
secondary
#E6F6D4
accent
#E60078
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B474FA

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

Preview Lab → · Contrast checker → · Palette generator →

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