#B47FFB#B47FFB

#B47FFB is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.1% C 0.180 H 301.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#B47FFB
RGBrgb(180, 127, 251)
HSLhsl(266, 94%, 74%)
HSVhsv(266, 49%, 98%)
CMYKcmyk(28.3%, 49.4%, 0%, 1.6%)
CIE-LABlab(63.22, 44.81, -54.59)
CIE-LCHlch(63.22, 70.63, 309.38°)
OKLaboklab(70.14% 0.0947 -0.1535)
OKLCHoklch(70.14% 0.18 301.7)
XYZxyz(43.8204, 31.8470, 95.0866)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47FFB #C6FB7F
analogous
#7F88FB #B47FFB #F27FFB
triadic
#B47FFB #FBB47F #7FFBB4
tetradic
#B47FFB #FB7F88 #C6FB7F #7FFBF2
square
#B47FFB #FB7F88 #C6FB7F #7FFBF2
split-complementary
#B47FFB #FBF27F #88FB7F
monochromatic
#6E08F7 #9144F9 #B47FFB #D7BAFD #EEE1FE

Accessibility & contrast

On white

2.85
#B47FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#B47FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47FFB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47FFB#FFFFFF#000000##000000
##B47FFB1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#6599F8
Tritanopia (blue-blind)
#A796B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b47ffb;
/* rgb */ color: rgb(180, 127, 251);
/* oklch */ color: oklch(70.1% 0.180 301.7);
Tailwind
colors: {
  custom: {
    50: '#cda5fd',
    500: '#b47ffb',
    950: '#000000',
  },
}
SCSS
$custom: #b47ffb;
$custom-light: #cda5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b47ffb",
  "rgb": {
    "r": 180,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 265.645,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7014,
    "c": 0.18037,
    "h": 301.7
  },
  "luminance": 0.31847
}

Semantic roles & 50–950 ramp

primary
#B47FFB
secondary
#E8F6D5
accent
#E60083
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B47FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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