#B475F8#B475F8

#B475F8 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.4% C 0.192 H 304.0°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#B475F8
RGBrgb(180, 117, 248)
HSLhsl(269, 90%, 72%)
HSVhsv(269, 53%, 97%)
CMYKcmyk(27.4%, 52.8%, 0%, 2.7%)
CIE-LABlab(60.96, 49.48, -56.53)
CIE-LCHlch(60.96, 75.13, 311.20°)
OKLaboklab(68.42% 0.1073 -0.1592)
OKLCHoklch(68.42% 0.192 304)
XYZxyz(42.1232, 29.2033, 92.2064)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B475F8 #B9F875
analogous
#7578F8 #B475F8 #F675F8
triadic
#B475F8 #F8B475 #75F8B4
tetradic
#B475F8 #F87578 #B9F875 #75F8F6
square
#B475F8 #F87578 #B9F875 #75F8F6
split-complementary
#B475F8 #F8F675 #78F875
monochromatic
#750CE7 #943BF5 #B475F8 #D4AFFB #EFE2FE

Accessibility & contrast

On white

3.07
#B475F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#B475F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B475F8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B475F8#FFFFFF#000000##000000
##B475F81.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FC
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#A88DAC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b475f8;
/* rgb */ color: rgb(180, 117, 248);
/* oklch */ color: oklch(68.4% 0.192 304.0);
Tailwind
colors: {
  custom: {
    50: '#ce9ffb',
    500: '#b475f8',
    950: '#000000',
  },
}
SCSS
$custom: #b475f8;
$custom-light: #ce9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b475f8",
  "rgb": {
    "r": 180,
    "g": 117,
    "b": 248
  },
  "hsl": {
    "h": 268.855,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68416,
    "c": 0.19194,
    "h": 304
  },
  "luminance": 0.29203
}

Semantic roles & 50–950 ramp

primary
#B475F8
secondary
#E5F5D4
accent
#E60077
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B475F8

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

Preview Lab → · Contrast checker → · Palette generator →

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