#B474F0#B474F0

#B474F0 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.8% C 0.184 H 305.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B474F0
RGBrgb(180, 116, 240)
HSLhsl(271, 81%, 70%)
HSVhsv(271, 52%, 94%)
CMYKcmyk(25%, 51.7%, 0%, 5.9%)
CIE-LABlab(60.33, 48.17, -53.11)
CIE-LCHlch(60.33, 71.70, 312.20°)
OKLaboklab(67.81% 0.108 -0.1492)
OKLCHoklch(67.81% 0.184 305.9)
XYZxyz(40.7927, 28.4857, 85.7705)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474F0 #B0F074
analogous
#7674F0 #B474F0 #F074EE
triadic
#B474F0 #F0B474 #74F0B4
tetradic
#B474F0 #F07674 #B0F074 #74EEF0
square
#B474F0 #F07674 #B0F074 #74EEF0
split-complementary
#B474F0 #EEF074 #74F076
monochromatic
#7817D3 #963DEA #B474F0 #D2ABF6 #F0E2FC

Accessibility & contrast

On white

3.14
#B474F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B474F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474F0
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474F0#FFFFFF#000000##000000
##B474F01.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8FF4
Deuteranopia (green-blind)
#6192ED
Tritanopia (blue-blind)
#AA8AA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b474f0;
/* rgb */ color: rgb(180, 116, 240);
/* oklch */ color: oklch(67.8% 0.184 305.9);
Tailwind
colors: {
  custom: {
    50: '#cd9ef5',
    500: '#b474f0',
    950: '#000000',
  },
}
SCSS
$custom: #b474f0;
$custom-light: #cd9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#b474f0",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 270.968,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67807,
    "c": 0.1842,
    "h": 305.9
  },
  "luminance": 0.28485
}

Semantic roles & 50–950 ramp

primary
#B474F0
secondary
#DFF1CE
accent
#DD096F
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B474F0

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

Preview Lab → · Contrast checker → · Palette generator →

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