#B475EF#B475EF

#B475EF is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.181 H 306.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B475EF
RGBrgb(180, 117, 239)
HSLhsl(271, 79%, 70%)
HSVhsv(271, 51%, 94%)
CMYKcmyk(24.7%, 51%, 0%, 6.3%)
CIE-LABlab(60.48, 47.40, -52.32)
CIE-LCHlch(60.48, 70.60, 312.18°)
OKLaboklab(67.9% 0.1067 -0.1469)
OKLCHoklch(67.9% 0.182 306)
XYZxyz(40.7604, 28.6582, 85.0289)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B475EF #B0EF75
analogous
#7775EF #B475EF #EF75ED
triadic
#B475EF #EFB475 #75EFB4
tetradic
#B475EF #EF7775 #B0EF75 #75EDEF
square
#B475EF #EF7775 #B0EF75 #75EDEF
split-complementary
#B475EF #EDEF75 #75EF77
monochromatic
#7818D1 #963EE9 #B475EF #D2ACF5 #F0E3FC

Accessibility & contrast

On white

3.12
#B475EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B475EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B475EF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B475EF#FFFFFF#000000##000000
##B475EF1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5090F3
Deuteranopia (green-blind)
#6392EC
Tritanopia (blue-blind)
#AB8BA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b475ef;
/* rgb */ color: rgb(180, 117, 239);
/* oklch */ color: oklch(67.9% 0.181 306.0);
Tailwind
colors: {
  custom: {
    50: '#cd9ef5',
    500: '#b475ef',
    950: '#000000',
  },
}
SCSS
$custom: #b475ef;
$custom-light: #cd9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#b475ef",
  "rgb": {
    "r": 180,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 270.984,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67904,
    "c": 0.1815,
    "h": 306
  },
  "luminance": 0.28658
}

Semantic roles & 50–950 ramp

primary
#B475EF
secondary
#DFF1CF
accent
#DC0A6F
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B475EF

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

Preview Lab → · Contrast checker → · Palette generator →

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