#B475F5#B475F5

#B475F5 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.2% C 0.188 H 304.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#B475F5
RGBrgb(180, 117, 245)
HSLhsl(270, 86%, 71%)
HSVhsv(270, 52%, 96%)
CMYKcmyk(26.5%, 52.2%, 0%, 3.9%)
CIE-LABlab(60.80, 48.79, -55.13)
CIE-LCHlch(60.80, 73.62, 311.51°)
OKLaboklab(68.24% 0.1071 -0.1551)
OKLCHoklch(68.24% 0.188 304.6)
XYZxyz(41.6616, 29.0186, 89.7748)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B475F5 #B6F575
analogous
#7576F5 #B475F5 #F475F5
triadic
#B475F5 #F5B475 #75F5B4
tetradic
#B475F5 #F57576 #B6F575 #75F5F4
square
#B475F5 #F57576 #B6F575 #75F5F4
split-complementary
#B475F5 #F5F475 #76F575
monochromatic
#7610DF #953CF1 #B475F5 #D3AEF9 #EFE2FD

Accessibility & contrast

On white

3.09
#B475F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#B475F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B475F5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B475F5#FFFFFF#000000##000000
##B475F51.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F9
Deuteranopia (green-blind)
#5E93F2
Tritanopia (blue-blind)
#A98DAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b475f5;
/* rgb */ color: rgb(180, 117, 245);
/* oklch */ color: oklch(68.2% 0.188 304.6);
Tailwind
colors: {
  custom: {
    50: '#cd9ef9',
    500: '#b475f5',
    950: '#000000',
  },
}
SCSS
$custom: #b475f5;
$custom-light: #cd9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b475f5",
  "rgb": {
    "r": 180,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 269.531,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68243,
    "c": 0.18846,
    "h": 304.6
  },
  "luminance": 0.29018
}

Semantic roles & 50–950 ramp

primary
#B475F5
secondary
#E3F4D2
accent
#E30275
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B475F5

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

Preview Lab → · Contrast checker → · Palette generator →

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