#B474F3#B474F3

#B474F3 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.188 H 305.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B474F3
RGBrgb(180, 116, 243)
HSLhsl(270, 84%, 70%)
HSVhsv(270, 52%, 95%)
CMYKcmyk(25.9%, 52.3%, 0%, 4.7%)
CIE-LABlab(60.49, 48.86, -54.52)
CIE-LCHlch(60.49, 73.21, 311.86°)
OKLaboklab(67.98% 0.1082 -0.1533)
OKLCHoklch(67.98% 0.188 305.2)
XYZxyz(41.2420, 28.6654, 88.1369)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474F3 #B3F374
analogous
#7474F3 #B474F3 #F374F3
triadic
#B474F3 #F3B474 #74F3B4
tetradic
#B474F3 #F37474 #B3F374 #74F3F3
square
#B474F3 #F37474 #B3F374 #74F3F3
split-complementary
#B474F3 #F3F374 #74F374
monochromatic
#7713DA #963CEE #B474F3 #D2ACF8 #F0E3FD

Accessibility & contrast

On white

3.12
#B474F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B474F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474F3
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474F3#FFFFFF#000000##000000
##B474F31.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B90F7
Deuteranopia (green-blind)
#5F92F0
Tritanopia (blue-blind)
#AA8BA9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b474f3;
/* rgb */ color: rgb(180, 116, 243);
/* oklch */ color: oklch(68.0% 0.188 305.2);
Tailwind
colors: {
  custom: {
    50: '#cd9ef8',
    500: '#b474f3',
    950: '#000000',
  },
}
SCSS
$custom: #b474f3;
$custom-light: #cd9ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#b474f3",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 243
  },
  "hsl": {
    "h": 270.236,
    "s": 84.106,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67977,
    "c": 0.18766,
    "h": 305.2
  },
  "luminance": 0.28665
}

Semantic roles & 50–950 ramp

primary
#B474F3
secondary
#E1F3D0
accent
#E10572
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B474F3

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

Preview Lab → · Contrast checker → · Palette generator →

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