#B475EC#B475EC

#B475EC is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.178 H 306.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B475EC
RGBrgb(180, 117, 236)
HSLhsl(272, 76%, 69%)
HSVhsv(272, 50%, 93%)
CMYKcmyk(23.7%, 50.4%, 0%, 7.5%)
CIE-LABlab(60.32, 46.72, -50.90)
CIE-LCHlch(60.32, 69.09, 312.55°)
OKLaboklab(67.74% 0.1064 -0.1427)
OKLCHoklch(67.74% 0.178 306.7)
XYZxyz(40.3209, 28.4824, 82.7141)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B475EC #ADEC75
analogous
#7975EC #B475EC #EC75E8
triadic
#B475EC #ECB475 #75ECB4
tetradic
#B475EC #EC7975 #ADEC75 #75E8EC
square
#B475EC #EC7975 #ADEC75 #75E8EC
split-complementary
#B475EC #E8EC75 #75EC79
monochromatic
#781CCB #973FE5 #B475EC #D1ABF3 #EEE1FB

Accessibility & contrast

On white

3.14
#B475EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B475EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B475EC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B475EC#FFFFFF#000000##000000
##B475EC1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#AB8AA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b475ec;
/* rgb */ color: rgb(180, 117, 236);
/* oklch */ color: oklch(67.7% 0.178 306.7);
Tailwind
colors: {
  custom: {
    50: '#cd9ef3',
    500: '#b475ec',
    950: '#000000',
  },
}
SCSS
$custom: #b475ec;
$custom-light: #cd9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b475ec",
  "rgb": {
    "r": 180,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 271.765,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67737,
    "c": 0.17801,
    "h": 306.7
  },
  "luminance": 0.28482
}

Semantic roles & 50–950 ramp

primary
#B475EC
secondary
#DDF0CD
accent
#D80E6D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B475EC

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

Preview Lab → · Contrast checker → · Palette generator →

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