#B475EA#B475EA

#B475EA is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.176 H 307.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B475EA
RGBrgb(180, 117, 234)
HSLhsl(272, 74%, 69%)
HSVhsv(272, 50%, 92%)
CMYKcmyk(23.1%, 50%, 0%, 8.2%)
CIE-LABlab(60.22, 46.27, -49.95)
CIE-LCHlch(60.22, 68.09, 312.81°)
OKLaboklab(67.63% 0.1062 -0.14)
OKLCHoklch(67.63% 0.176 307.2)
XYZxyz(40.0320, 28.3668, 81.1924)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B475EA #ABEA75
analogous
#7A75EA #B475EA #EA75E5
triadic
#B475EA #EAB475 #75EAB4
tetradic
#B475EA #EA7A75 #ABEA75 #75E5EA
square
#B475EA #EA7A75 #ABEA75 #75E5EA
split-complementary
#B475EA #E5EA75 #75EA7A
monochromatic
#791EC6 #9740E2 #B475EA #D1AAF2 #EEDFFA

Accessibility & contrast

On white

3.15
#B475EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#B475EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B475EA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B475EA#FFFFFF#000000##000000
##B475EA1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#6692E7
Tritanopia (blue-blind)
#AC89A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b475ea;
/* rgb */ color: rgb(180, 117, 234);
/* oklch */ color: oklch(67.6% 0.176 307.2);
Tailwind
colors: {
  custom: {
    50: '#cd9ef1',
    500: '#b475ea',
    950: '#000000',
  },
}
SCSS
$custom: #b475ea;
$custom-light: #cd9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b475ea",
  "rgb": {
    "r": 180,
    "g": 117,
    "b": 234
  },
  "hsl": {
    "h": 272.308,
    "s": 73.585,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67626,
    "c": 0.17569,
    "h": 307.2
  },
  "luminance": 0.28366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B475EA

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

Preview Lab → · Contrast checker → · Palette generator →

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