#B474F6#B474F6

#B474F6 is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.2% C 0.191 H 304.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B474F6
RGBrgb(180, 116, 246)
HSLhsl(270, 88%, 71%)
HSVhsv(270, 53%, 96%)
CMYKcmyk(26.8%, 52.8%, 0%, 3.5%)
CIE-LABlab(60.65, 49.55, -55.92)
CIE-LCHlch(60.65, 74.72, 311.54°)
OKLaboklab(68.15% 0.1084 -0.1574)
OKLCHoklch(68.15% 0.191 304.6)
XYZxyz(41.6987, 28.8481, 90.5424)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474F6 #B6F674
analogous
#7475F6 #B474F6 #F574F6
triadic
#B474F6 #F6B474 #74F6B4
tetradic
#B474F6 #F67475 #B6F674 #74F6F5
square
#B474F6 #F67475 #B6F674 #74F6F5
split-complementary
#B474F6 #F6F574 #75F674
monochromatic
#760FE1 #953BF2 #B474F6 #D3ADFA #EFE2FD

Accessibility & contrast

On white

3.10
#B474F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B474F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474F6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474F6#FFFFFF#000000##000000
##B474F61.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FA
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#A98CAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b474f6;
/* rgb */ color: rgb(180, 116, 246);
/* oklch */ color: oklch(68.2% 0.191 304.6);
Tailwind
colors: {
  custom: {
    50: '#ce9efa',
    500: '#b474f6',
    950: '#000000',
  },
}
SCSS
$custom: #b474f6;
$custom-light: #ce9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#b474f6",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 269.538,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6815,
    "c": 0.19113,
    "h": 304.6
  },
  "luminance": 0.28848
}

Semantic roles & 50–950 ramp

primary
#B474F6
secondary
#E3F4D2
accent
#E40175
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B474F6

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

Preview Lab → · Contrast checker → · Palette generator →

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