#B474E8#B474E8

#B474E8 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.4% C 0.175 H 307.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B474E8
RGBrgb(180, 116, 232)
HSLhsl(273, 72%, 68%)
HSVhsv(273, 50%, 91%)
CMYKcmyk(22.4%, 50%, 0%, 9%)
CIE-LABlab(59.91, 46.35, -49.33)
CIE-LCHlch(59.91, 67.69, 313.21°)
OKLaboklab(67.36% 0.1073 -0.1381)
OKLCHoklch(67.36% 0.175 307.8)
XYZxyz(39.6304, 28.0208, 79.6491)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474E8 #A8E874
analogous
#7A74E8 #B474E8 #E874E2
triadic
#B474E8 #E8B474 #74E8B4
tetradic
#B474E8 #E87A74 #A8E874 #74E2E8
square
#B474E8 #E87A74 #A8E874 #74E2E8
split-complementary
#B474E8 #E2E874 #74E87A
monochromatic
#7920C2 #983FDF #B474E8 #D0A9F1 #EDDDF9

Accessibility & contrast

On white

3.18
#B474E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B474E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474E8
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474E8#FFFFFF#000000##000000
##B474E81.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#548EEC
Deuteranopia (green-blind)
#6691E5
Tritanopia (blue-blind)
#AD88A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b474e8;
/* rgb */ color: rgb(180, 116, 232);
/* oklch */ color: oklch(67.4% 0.175 307.8);
Tailwind
colors: {
  custom: {
    50: '#cd9ef0',
    500: '#b474e8',
    950: '#000000',
  },
}
SCSS
$custom: #b474e8;
$custom-light: #cd9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#b474e8",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 273.103,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67362,
    "c": 0.17495,
    "h": 307.8
  },
  "luminance": 0.2802
}

Semantic roles & 50–950 ramp

primary
#B474E8
secondary
#DAEDCA
accent
#D41269
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B474E8

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

Preview Lab → · Contrast checker → · Palette generator →

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