#B475EE#B475EE

#B475EE is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.180 H 306.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B475EE
RGBrgb(180, 117, 238)
HSLhsl(271, 78%, 70%)
HSVhsv(271, 51%, 93%)
CMYKcmyk(24.4%, 50.8%, 0%, 6.7%)
CIE-LABlab(60.43, 47.18, -51.84)
CIE-LCHlch(60.43, 70.09, 312.30°)
OKLaboklab(67.85% 0.1066 -0.1455)
OKLCHoklch(67.85% 0.18 306.2)
XYZxyz(40.6131, 28.5993, 84.2530)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B475EE #AFEE75
analogous
#7875EE #B475EE #EE75EB
triadic
#B475EE #EEB475 #75EEB4
tetradic
#B475EE #EE7875 #AFEE75 #75EBEE
square
#B475EE #EE7875 #AFEE75 #75EBEE
split-complementary
#B475EE #EBEE75 #75EE78
monochromatic
#781ACF #963FE7 #B475EE #D2ABF5 #EFE2FB

Accessibility & contrast

On white

3.13
#B475EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B475EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B475EE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B475EE#FFFFFF#000000##000000
##B475EE1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F2
Deuteranopia (green-blind)
#6392EB
Tritanopia (blue-blind)
#AB8AA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b475ee;
/* rgb */ color: rgb(180, 117, 238);
/* oklch */ color: oklch(67.8% 0.180 306.2);
Tailwind
colors: {
  custom: {
    50: '#cd9ef4',
    500: '#b475ee',
    950: '#000000',
  },
}
SCSS
$custom: #b475ee;
$custom-light: #cd9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#b475ee",
  "rgb": {
    "r": 180,
    "g": 117,
    "b": 238
  },
  "hsl": {
    "h": 271.24,
    "s": 78.065,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67848,
    "c": 0.18033,
    "h": 306.2
  },
  "luminance": 0.28599
}

Semantic roles & 50–950 ramp

primary
#B475EE
secondary
#DFF1CE
accent
#DA0B6E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B475EE

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

Preview Lab → · Contrast checker → · Palette generator →

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