#B474EB#B474EB

#B474EB is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.5% C 0.178 H 307.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B474EB
RGBrgb(180, 116, 235)
HSLhsl(272, 75%, 69%)
HSVhsv(272, 51%, 92%)
CMYKcmyk(23.4%, 50.6%, 0%, 7.8%)
CIE-LABlab(60.06, 47.03, -50.76)
CIE-LCHlch(60.06, 69.19, 312.82°)
OKLaboklab(67.53% 0.1076 -0.1423)
OKLCHoklch(67.53% 0.178 307.1)
XYZxyz(40.0601, 28.1927, 81.9125)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474EB #ABEB74
analogous
#7974EB #B474EB #EB74E7
triadic
#B474EB #EBB474 #74EBB4
tetradic
#B474EB #EB7974 #ABEB74 #74E7EB
square
#B474EB #EB7974 #ABEB74 #74E7EB
split-complementary
#B474EB #E7EB74 #74EB79
monochromatic
#791DC8 #973EE3 #B474EB #D1AAF3 #EEDFFA

Accessibility & contrast

On white

3.16
#B474EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#B474EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474EB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474EB#FFFFFF#000000##000000
##B474EB1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#AC89A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b474eb;
/* rgb */ color: rgb(180, 116, 235);
/* oklch */ color: oklch(67.5% 0.178 307.1);
Tailwind
colors: {
  custom: {
    50: '#cd9ef2',
    500: '#b474eb',
    950: '#000000',
  },
}
SCSS
$custom: #b474eb;
$custom-light: #cd9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b474eb",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 272.269,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67527,
    "c": 0.17841,
    "h": 307.1
  },
  "luminance": 0.28192
}

Semantic roles & 50–950 ramp

primary
#B474EB
secondary
#DCEFCC
accent
#D70F6B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B474EB

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

Preview Lab → · Contrast checker → · Palette generator →

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