#B47DEB#B47DEB

#B47DEB is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.164 H 305.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B47DEB
RGBrgb(180, 125, 235)
HSLhsl(270, 73%, 71%)
HSVhsv(270, 47%, 92%)
CMYKcmyk(23.4%, 46.8%, 0%, 7.8%)
CIE-LABlab(61.97, 42.16, -47.73)
CIE-LCHlch(61.97, 63.69, 311.45°)
OKLaboklab(68.95% 0.0956 -0.1335)
OKLCHoklch(68.95% 0.164 305.6)
XYZxyz(41.1483, 30.3690, 82.2752)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47DEB #B4EB7D
analogous
#7D7DEB #B47DEB #EB7DEB
triadic
#B47DEB #EBB47D #7DEBB4
tetradic
#B47DEB #EB7D7D #B4EB7D #7DEBEB
square
#B47DEB #EB7D7D #B4EB7D #7DEBEB
split-complementary
#B47DEB #EBEB7D #7DEB7D
monochromatic
#7720CE #9548E3 #B47DEB #D3B2F3 #F0E4FB

Accessibility & contrast

On white

2.97
#B47DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#B47DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47DEB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47DEB#FFFFFF#000000##000000
##B47DEB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#AB90A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b47deb;
/* rgb */ color: rgb(180, 125, 235);
/* oklch */ color: oklch(68.9% 0.164 305.6);
Tailwind
colors: {
  custom: {
    50: '#cda4f2',
    500: '#b47deb',
    950: '#000000',
  },
}
SCSS
$custom: #b47deb;
$custom-light: #cda4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b47deb",
  "rgb": {
    "r": 180,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68948,
    "c": 0.16422,
    "h": 305.6
  },
  "luminance": 0.30369
}

Semantic roles & 50–950 ramp

primary
#B47DEB
secondary
#E2F1D3
accent
#D51073
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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