#B47AFF#B47AFF

#B47AFF is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.6% C 0.193 H 301.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B47AFF
RGBrgb(180, 122, 255)
HSLhsl(266, 100%, 74%)
HSVhsv(266, 52%, 100%)
CMYKcmyk(29.4%, 52.2%, 0%, 0%)
CIE-LABlab(62.37, 48.46, -58.13)
CIE-LCHlch(62.37, 75.68, 309.82°)
OKLaboklab(69.58% 0.1014 -0.1639)
OKLCHoklch(69.58% 0.193 301.7)
XYZxyz(43.8278, 30.8423, 98.2325)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47AFF #C5FF7A
analogous
#7A83FF #B47AFF #F67AFF
triadic
#B47AFF #FFB47A #7AFFB4
tetradic
#B47AFF #FF7A83 #C5FF7A #7AFFF6
square
#B47AFF #FF7A83 #C5FF7A #7AFFF6
split-complementary
#B47AFF #FFF67A #83FF7A
monochromatic
#6F00FF #913DFF #B47AFF #D7B7FF #EEE0FF

Accessibility & contrast

On white

2.93
#B47AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B47AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47AFF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47AFF#FFFFFF#000000##000000
##B47AFF1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#5C96FC
Tritanopia (blue-blind)
#A693B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b47aff;
/* rgb */ color: rgb(180, 122, 255);
/* oklch */ color: oklch(69.6% 0.193 301.7);
Tailwind
colors: {
  custom: {
    50: '#cea2ff',
    500: '#b47aff',
    950: '#000000',
  },
}
SCSS
$custom: #b47aff;
$custom-light: #cea2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b47aff",
  "rgb": {
    "r": 180,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 266.165,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69585,
    "c": 0.19268,
    "h": 301.7
  },
  "luminance": 0.30842
}

Semantic roles & 50–950 ramp

primary
#B47AFF
secondary
#E8F7D4
accent
#E60081
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B47AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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