#B474F7#B474F7

#B474F7 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.2% C 0.192 H 304.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B474F7
RGBrgb(180, 116, 247)
HSLhsl(269, 89%, 71%)
HSVhsv(269, 53%, 97%)
CMYKcmyk(27.1%, 53%, 0%, 3.1%)
CIE-LABlab(60.70, 49.78, -56.39)
CIE-LCHlch(60.70, 75.22, 311.44°)
OKLaboklab(68.21% 0.1085 -0.1588)
OKLCHoklch(68.21% 0.192 304.3)
XYZxyz(41.8526, 28.9096, 91.3529)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474F7 #B7F774
analogous
#7475F7 #B474F7 #F674F7
triadic
#B474F7 #F7B474 #74F7B4
tetradic
#B474F7 #F77475 #B7F774 #74F7F6
square
#B474F7 #F77475 #B7F774 #74F7F6
split-complementary
#B474F7 #F7F674 #75F774
monochromatic
#760DE4 #953AF4 #B474F7 #D3AEFA #EFE2FD

Accessibility & contrast

On white

3.10
#B474F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B474F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474F7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474F7#FFFFFF#000000##000000
##B474F71.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FB
Deuteranopia (green-blind)
#5C92F4
Tritanopia (blue-blind)
#A88CAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b474f7;
/* rgb */ color: rgb(180, 116, 247);
/* oklch */ color: oklch(68.2% 0.192 304.3);
Tailwind
colors: {
  custom: {
    50: '#ce9efa',
    500: '#b474f7',
    950: '#000000',
  },
}
SCSS
$custom: #b474f7;
$custom-light: #ce9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#b474f7",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 269.313,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68207,
    "c": 0.19228,
    "h": 304.3
  },
  "luminance": 0.28909
}

Semantic roles & 50–950 ramp

primary
#B474F7
secondary
#E4F5D2
accent
#E60075
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B474F7

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

Preview Lab → · Contrast checker → · Palette generator →

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