#B475EB#B475EB

#B475EB is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.7% C 0.177 H 306.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B475EB
RGBrgb(180, 117, 235)
HSLhsl(272, 75%, 69%)
HSVhsv(272, 50%, 92%)
CMYKcmyk(23.4%, 50.2%, 0%, 7.8%)
CIE-LABlab(60.27, 46.49, -50.43)
CIE-LCHlch(60.27, 68.59, 312.68°)
OKLaboklab(67.68% 0.1063 -0.1413)
OKLCHoklch(67.68% 0.177 306.9)
XYZxyz(40.1760, 28.4244, 81.9511)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B475EB #ACEB75
analogous
#7975EB #B475EB #EB75E7
triadic
#B475EB #EBB475 #75EBB4
tetradic
#B475EB #EB7975 #ACEB75 #75E7EB
square
#B475EB #EB7975 #ACEB75 #75E7EB
split-complementary
#B475EB #E7EB75 #75EB79
monochromatic
#791DC9 #9740E3 #B475EB #D1AAF3 #EEE0FA

Accessibility & contrast

On white

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

On black

6.68
#B475EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B475EB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B475EB#FFFFFF#000000##000000
##B475EB1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#AC8AA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b475eb;
/* rgb */ color: rgb(180, 117, 235);
/* oklch */ color: oklch(67.7% 0.177 306.9);
Tailwind
colors: {
  custom: {
    50: '#cd9ef2',
    500: '#b475eb',
    950: '#000000',
  },
}
SCSS
$custom: #b475eb;
$custom-light: #cd9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b475eb",
  "rgb": {
    "r": 180,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 272.034,
    "s": 74.684,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67681,
    "c": 0.17685,
    "h": 306.9
  },
  "luminance": 0.28424
}

Semantic roles & 50–950 ramp

primary
#B475EB
secondary
#DDEFCD
accent
#D70F6C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B475EB

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

Preview Lab → · Contrast checker → · Palette generator →

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