#B47FF2#B47FF2

#B47FF2 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.6% C 0.169 H 303.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B47FF2
RGBrgb(180, 127, 242)
HSLhsl(268, 82%, 72%)
HSVhsv(268, 48%, 95%)
CMYKcmyk(25.6%, 47.5%, 0%, 5.1%)
CIE-LABlab(62.75, 42.69, -50.37)
CIE-LCHlch(62.75, 66.03, 310.29°)
OKLaboklab(69.65% 0.0938 -0.1412)
OKLCHoklch(69.65% 0.169 303.6)
XYZxyz(42.4353, 31.2929, 87.7917)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47FF2 #BDF27F
analogous
#7F84F2 #B47FF2 #ED7FF2
triadic
#B47FF2 #F2B47F #7FF2B4
tetradic
#B47FF2 #F27F84 #BDF27F #7FF2ED
square
#B47FF2 #F27F84 #BDF27F #7FF2ED
split-complementary
#B47FF2 #F2ED7F #84F27F
monochromatic
#7317E0 #9347EC #B47FF2 #D5B7F8 #EFE3FC

Accessibility & contrast

On white

2.89
#B47FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B47FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47FF2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47FF2#FFFFFF#000000##000000
##B47FF21.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#6B98EF
Tritanopia (blue-blind)
#A993AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b47ff2;
/* rgb */ color: rgb(180, 127, 242);
/* oklch */ color: oklch(69.6% 0.169 303.6);
Tailwind
colors: {
  custom: {
    50: '#cda5f7',
    500: '#b47ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b47ff2;
$custom-light: #cda5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b47ff2",
  "rgb": {
    "r": 180,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 267.652,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69646,
    "c": 0.16949,
    "h": 303.6
  },
  "luminance": 0.31293
}

Semantic roles & 50–950 ramp

primary
#B47FF2
secondary
#E7F4D7
accent
#DE087B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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