#B474F5#B474F5

#B474F5 is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.1% C 0.190 H 304.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B474F5
RGBrgb(180, 116, 245)
HSLhsl(270, 87%, 71%)
HSVhsv(270, 53%, 96%)
CMYKcmyk(26.5%, 52.7%, 0%, 3.9%)
CIE-LABlab(60.59, 49.32, -55.46)
CIE-LCHlch(60.59, 74.21, 311.65°)
OKLaboklab(68.09% 0.1084 -0.156)
OKLCHoklch(68.09% 0.19 304.8)
XYZxyz(41.5457, 28.7869, 89.7362)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474F5 #B5F574
analogous
#7474F5 #B474F5 #F474F5
triadic
#B474F5 #F5B474 #74F5B4
tetradic
#B474F5 #F57474 #B5F574 #74F5F4
square
#B474F5 #F57474 #B5F574 #74F5F4
split-complementary
#B474F5 #F5F474 #74F574
monochromatic
#7610DF #953BF1 #B474F5 #D3ADF9 #F0E2FD

Accessibility & contrast

On white

3.11
#B474F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B474F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474F5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474F5#FFFFFF#000000##000000
##B474F51.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#5D92F2
Tritanopia (blue-blind)
#A98CAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b474f5;
/* rgb */ color: rgb(180, 116, 245);
/* oklch */ color: oklch(68.1% 0.190 304.8);
Tailwind
colors: {
  custom: {
    50: '#cd9ef9',
    500: '#b474f5',
    950: '#000000',
  },
}
SCSS
$custom: #b474f5;
$custom-light: #cd9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b474f5",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 269.767,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68092,
    "c": 0.18997,
    "h": 304.8
  },
  "luminance": 0.28787
}

Semantic roles & 50–950 ramp

primary
#B474F5
secondary
#E3F4D1
accent
#E30274
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B474F5

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

Preview Lab → · Contrast checker → · Palette generator →

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