#B474E7#B474E7

#B474E7 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.174 H 308.1°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B474E7
RGBrgb(180, 116, 231)
HSLhsl(273, 71%, 68%)
HSVhsv(273, 50%, 91%)
CMYKcmyk(22.1%, 49.8%, 0%, 9.4%)
CIE-LABlab(59.86, 46.12, -48.86)
CIE-LCHlch(59.86, 67.19, 313.35°)
OKLaboklab(67.31% 0.1072 -0.1368)
OKLCHoklch(67.31% 0.174 308.1)
XYZxyz(39.4887, 27.9641, 78.9031)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474E7 #A7E774
analogous
#7A74E7 #B474E7 #E774E1
triadic
#B474E7 #E7B474 #74E7B4
tetradic
#B474E7 #E77A74 #A7E774 #74E1E7
square
#B474E7 #E77A74 #A7E774 #74E1E7
split-complementary
#B474E7 #E1E774 #74E77A
monochromatic
#7921C0 #9840DE #B474E7 #D0A8F0 #ECDCF9

Accessibility & contrast

On white

3.19
#B474E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#B474E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474E7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474E7#FFFFFF#000000##000000
##B474E71.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#548EEB
Deuteranopia (green-blind)
#6791E4
Tritanopia (blue-blind)
#AD88A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b474e7;
/* rgb */ color: rgb(180, 116, 231);
/* oklch */ color: oklch(67.3% 0.174 308.1);
Tailwind
colors: {
  custom: {
    50: '#cd9eef',
    500: '#b474e7',
    950: '#000000',
  },
}
SCSS
$custom: #b474e7;
$custom-light: #cd9eef;
$custom-dark: #000000;
JSON
{
  "hex": "#b474e7",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 273.391,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67307,
    "c": 0.17379,
    "h": 308.1
  },
  "luminance": 0.27964
}

Semantic roles & 50–950 ramp

primary
#B474E7
secondary
#D9EDCA
accent
#D31368
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B474E7

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

Preview Lab → · Contrast checker → · Palette generator →

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