#B475FA#B475FA

#B475FA is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.5% C 0.194 H 303.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#B475FA
RGBrgb(180, 117, 250)
HSLhsl(268, 93%, 72%)
HSVhsv(268, 53%, 98%)
CMYKcmyk(28%, 53.2%, 0%, 2%)
CIE-LABlab(61.07, 49.95, -57.46)
CIE-LCHlch(61.07, 76.13, 311.00°)
OKLaboklab(68.53% 0.1074 -0.1619)
OKLCHoklch(68.53% 0.194 303.6)
XYZxyz(42.4352, 29.3281, 93.8492)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B475FA #BBFA75
analogous
#7579FA #B475FA #F675FA
triadic
#B475FA #FAB475 #75FAB4
tetradic
#B475FA #FA7579 #BBFA75 #75FAF6
square
#B475FA #FA7579 #BBFA75 #75FAF6
split-complementary
#B475FA #FAF675 #79FA75
monochromatic
#7409EC #943AF8 #B475FA #D4B0FC #EFE1FE

Accessibility & contrast

On white

3.06
#B475FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#B475FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B475FA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B475FA#FFFFFF#000000##000000
##B475FA1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FE
Deuteranopia (green-blind)
#5A93F7
Tritanopia (blue-blind)
#A78EAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b475fa;
/* rgb */ color: rgb(180, 117, 250);
/* oklch */ color: oklch(68.5% 0.194 303.6);
Tailwind
colors: {
  custom: {
    50: '#ce9ffc',
    500: '#b475fa',
    950: '#000000',
  },
}
SCSS
$custom: #b475fa;
$custom-light: #ce9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b475fa",
  "rgb": {
    "r": 180,
    "g": 117,
    "b": 250
  },
  "hsl": {
    "h": 268.421,
    "s": 93.007,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68532,
    "c": 0.19426,
    "h": 303.6
  },
  "luminance": 0.29328
}

Semantic roles & 50–950 ramp

primary
#B475FA
secondary
#E6F6D5
accent
#E60079
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #B475FA

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

Preview Lab → · Contrast checker → · Palette generator →

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