#B474F8#B474F8

#B474F8 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.3% C 0.193 H 304.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B474F8
RGBrgb(180, 116, 248)
HSLhsl(269, 90%, 71%)
HSVhsv(269, 53%, 97%)
CMYKcmyk(27.4%, 53.2%, 0%, 2.7%)
CIE-LABlab(60.76, 50.01, -56.85)
CIE-LCHlch(60.76, 75.72, 311.34°)
OKLaboklab(68.27% 0.1085 -0.1601)
OKLCHoklch(68.27% 0.193 304.1)
XYZxyz(42.0073, 28.9715, 92.1678)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474F8 #B8F874
analogous
#7476F8 #B474F8 #F674F8
triadic
#B474F8 #F8B474 #74F8B4
tetradic
#B474F8 #F87476 #B8F874 #74F8F6
square
#B474F8 #F87476 #B8F874 #74F8F6
split-complementary
#B474F8 #F8F674 #76F874
monochromatic
#750CE6 #953AF5 #B474F8 #D3AEFB #EFE2FE

Accessibility & contrast

On white

3.09
#B474F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B474F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474F8
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474F8#FFFFFF#000000##000000
##B474F81.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4691FC
Deuteranopia (green-blind)
#5B93F5
Tritanopia (blue-blind)
#A88DAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b474f8;
/* rgb */ color: rgb(180, 116, 248);
/* oklch */ color: oklch(68.3% 0.193 304.1);
Tailwind
colors: {
  custom: {
    50: '#ce9efb',
    500: '#b474f8',
    950: '#000000',
  },
}
SCSS
$custom: #b474f8;
$custom-light: #ce9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b474f8",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 269.091,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68265,
    "c": 0.19344,
    "h": 304.1
  },
  "luminance": 0.28971
}

Semantic roles & 50–950 ramp

primary
#B474F8
secondary
#E4F5D3
accent
#E60076
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B474F8

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

Preview Lab → · Contrast checker → · Palette generator →

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