#B475FE#B475FE

#B475FE is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.8% C 0.199 H 302.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B475FE
RGBrgb(180, 117, 254)
HSLhsl(268, 99%, 73%)
HSVhsv(268, 54%, 100%)
CMYKcmyk(29.1%, 53.9%, 0%, 0.4%)
CIE-LABlab(61.29, 50.89, -59.30)
CIE-LCHlch(61.29, 78.15, 310.63°)
OKLaboklab(68.77% 0.1076 -0.1673)
OKLCHoklch(68.77% 0.199 302.7)
XYZxyz(43.0690, 29.5816, 97.1875)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B475FE #BFFE75
analogous
#757BFE #B475FE #F875FE
triadic
#B475FE #FEB475 #75FEB4
tetradic
#B475FE #FE757B #BFFE75 #75FEF8
square
#B475FE #FE757B #BFFE75 #75FEF8
split-complementary
#B475FE #FEF875 #7BFE75
monochromatic
#7202F7 #9338FE #B475FE #D5B2FE #EEE1FF

Accessibility & contrast

On white

3.04
#B475FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B475FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B475FE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B475FE#FFFFFF#000000##000000
##B475FE1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#A68FAF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b475fe;
/* rgb */ color: rgb(180, 117, 254);
/* oklch */ color: oklch(68.8% 0.199 302.7);
Tailwind
colors: {
  custom: {
    50: '#ce9fff',
    500: '#b475fe',
    950: '#000000',
  },
}
SCSS
$custom: #b475fe;
$custom-light: #ce9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#b475fe",
  "rgb": {
    "r": 180,
    "g": 117,
    "b": 254
  },
  "hsl": {
    "h": 267.591,
    "s": 98.561,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68767,
    "c": 0.19889,
    "h": 302.7
  },
  "luminance": 0.29582
}

Semantic roles & 50–950 ramp

primary
#B475FE
secondary
#E7F7D4
accent
#E6007C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #B475FE

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

Preview Lab → · Contrast checker → · Palette generator →

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