#B474EF#B474EF

#B474EF is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.8% C 0.183 H 306.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B474EF
RGBrgb(180, 116, 239)
HSLhsl(271, 79%, 70%)
HSVhsv(271, 51%, 94%)
CMYKcmyk(24.7%, 51.5%, 0%, 6.3%)
CIE-LABlab(60.27, 47.94, -52.64)
CIE-LCHlch(60.27, 71.20, 312.32°)
OKLaboklab(67.75% 0.108 -0.1478)
OKLCHoklch(67.75% 0.183 306.1)
XYZxyz(40.6445, 28.4264, 84.9903)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474EF #AFEF74
analogous
#7774EF #B474EF #EF74EC
triadic
#B474EF #EFB474 #74EFB4
tetradic
#B474EF #EF7774 #AFEF74 #74ECEF
square
#B474EF #EF7774 #AFEF74 #74ECEF
split-complementary
#B474EF #ECEF74 #74EF77
monochromatic
#7818D1 #963DE9 #B474EF #D2ABF5 #EFE2FC

Accessibility & contrast

On white

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

On black

6.69
#B474EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474EF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474EF#FFFFFF#000000##000000
##B474EF1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#AB8AA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b474ef;
/* rgb */ color: rgb(180, 116, 239);
/* oklch */ color: oklch(67.8% 0.183 306.1);
Tailwind
colors: {
  custom: {
    50: '#cd9ef5',
    500: '#b474ef',
    950: '#000000',
  },
}
SCSS
$custom: #b474ef;
$custom-light: #cd9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#b474ef",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 271.22,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67751,
    "c": 0.18303,
    "h": 306.1
  },
  "luminance": 0.28426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B474EF

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

Preview Lab → · Contrast checker → · Palette generator →

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