#B474FC#B474FC

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

Color values

HEX#B474FC
RGBrgb(180, 116, 252)
HSLhsl(268, 96%, 72%)
HSVhsv(268, 54%, 99%)
CMYKcmyk(28.6%, 54%, 0%, 1.2%)
CIE-LABlab(60.98, 50.95, -58.71)
CIE-LCHlch(60.98, 77.73, 310.95°)
OKLaboklab(68.5% 0.1087 -0.1655)
OKLCHoklch(68.5% 0.198 303.3)
XYZxyz(42.6345, 29.2224, 95.4710)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474FC #BCFC74
analogous
#7478FC #B474FC #F874FC
triadic
#B474FC #FCB474 #74FCB4
tetradic
#B474FC #FC7478 #BCFC74 #74FCF8
square
#B474FC #FC7478 #BCFC74 #74FCF8
split-complementary
#B474FC #FCF874 #78FC74
monochromatic
#7405F0 #9438FB #B474FC #D4B0FD #EFE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B474FC#FFFFFF#000000##000000
##B474FC1.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)
#4292FF
Deuteranopia (green-blind)
#5793F9
Tritanopia (blue-blind)
#A78EAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b474fc;
/* rgb */ color: rgb(180, 116, 252);
/* oklch */ color: oklch(68.5% 0.198 303.3);
Tailwind
colors: {
  custom: {
    50: '#ce9efe',
    500: '#b474fc',
    950: '#000000',
  },
}
SCSS
$custom: #b474fc;
$custom-light: #ce9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#b474fc",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 268.235,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.685,
    "c": 0.19804,
    "h": 303.3
  },
  "luminance": 0.29222
}

Semantic roles & 50–950 ramp

primary
#B474FC
secondary
#E7F7D4
accent
#E6007A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B474FC

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

Preview Lab → · Contrast checker → · Palette generator →

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