#B47FEF#B47FEF

#B47FEF is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.5% C 0.166 H 304.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#B47FEF
RGBrgb(180, 127, 239)
HSLhsl(268, 78%, 72%)
HSVhsv(268, 47%, 94%)
CMYKcmyk(24.7%, 46.9%, 0%, 6.3%)
CIE-LABlab(62.60, 41.99, -48.95)
CIE-LCHlch(62.60, 64.49, 310.63°)
OKLaboklab(69.49% 0.0934 -0.1371)
OKLCHoklch(69.49% 0.166 304.3)
XYZxyz(41.9884, 31.1142, 85.4382)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47FEF #BAEF7F
analogous
#7F82EF #B47FEF #EC7FEF
triadic
#B47FEF #EFB47F #7FEFB4
tetradic
#B47FEF #EF7F82 #BAEF7F #7FEFEC
square
#B47FEF #EF7F82 #BAEF7F #7FEFEC
split-complementary
#B47FEF #EFEC7F #82EF7F
monochromatic
#751BD9 #9449E8 #B47FEF #D4B5F6 #EFE4FC

Accessibility & contrast

On white

2.91
#B47FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#B47FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47FEF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47FEF#FFFFFF#000000##000000
##B47FEF1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#AA92AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b47fef;
/* rgb */ color: rgb(180, 127, 239);
/* oklch */ color: oklch(69.5% 0.166 304.3);
Tailwind
colors: {
  custom: {
    50: '#cda5f5',
    500: '#b47fef',
    950: '#000000',
  },
}
SCSS
$custom: #b47fef;
$custom-light: #cda5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b47fef",
  "rgb": {
    "r": 180,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 268.393,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69485,
    "c": 0.16586,
    "h": 304.3
  },
  "luminance": 0.31114
}

Semantic roles & 50–950 ramp

primary
#B47FEF
secondary
#E6F3D7
accent
#DA0B78
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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