#B47DF2#B47DF2

#B47DF2 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.3% C 0.173 H 304.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#B47DF2
RGBrgb(180, 125, 242)
HSLhsl(268, 82%, 72%)
HSVhsv(268, 48%, 95%)
CMYKcmyk(25.6%, 48.3%, 0%, 5.1%)
CIE-LABlab(62.32, 43.78, -51.05)
CIE-LCHlch(62.32, 67.25, 310.62°)
OKLaboklab(69.32% 0.0964 -0.1432)
OKLCHoklch(69.32% 0.173 304)
XYZxyz(42.1796, 30.7815, 87.7065)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47DF2 #BBF27D
analogous
#7D81F2 #B47DF2 #EE7DF2
triadic
#B47DF2 #F2B47D #7DF2B4
tetradic
#B47DF2 #F27D81 #BBF27D #7DF2EE
square
#B47DF2 #F27D81 #BBF27D #7DF2EE
split-complementary
#B47DF2 #F2EE7D #81F27D
monochromatic
#7416DE #9445EC #B47DF2 #D4B5F8 #EFE3FC

Accessibility & contrast

On white

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

On black

7.16
#B47DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47DF2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47DF2#FFFFFF#000000##000000
##B47DF21.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#6997EF
Tritanopia (blue-blind)
#A992AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b47df2;
/* rgb */ color: rgb(180, 125, 242);
/* oklch */ color: oklch(69.3% 0.173 304.0);
Tailwind
colors: {
  custom: {
    50: '#cda4f7',
    500: '#b47df2',
    950: '#000000',
  },
}
SCSS
$custom: #b47df2;
$custom-light: #cda4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b47df2",
  "rgb": {
    "r": 180,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 268.205,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69324,
    "c": 0.17261,
    "h": 304
  },
  "luminance": 0.30781
}

Semantic roles & 50–950 ramp

primary
#B47DF2
secondary
#E6F4D7
accent
#DE0779
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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