#B47AF2#B47AF2

#B47AF2 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.8% C 0.177 H 304.5°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B47AF2
RGBrgb(180, 122, 242)
HSLhsl(269, 82%, 71%)
HSVhsv(269, 50%, 95%)
CMYKcmyk(25.6%, 49.6%, 0%, 5.1%)
CIE-LABlab(61.68, 45.41, -52.06)
CIE-LCHlch(61.68, 69.08, 311.09°)
OKLaboklab(68.85% 0.1004 -0.1461)
OKLCHoklch(68.85% 0.177 304.5)
XYZxyz(41.8055, 30.0333, 87.5818)
Luminance0.3003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47AF2 #B8F27A
analogous
#7A7CF2 #B47AF2 #F07AF2
triadic
#B47AF2 #F2B47A #7AF2B4
tetradic
#B47AF2 #F27A7C #B8F27A #7AF2F0
square
#B47AF2 #F27A7C #B8F27A #7AF2F0
split-complementary
#B47AF2 #F2F07A #7CF27A
monochromatic
#7516DC #9542ED #B47AF2 #D3B2F7 #EFE3FC

Accessibility & contrast

On white

3.00
#B47AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#B47AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47AF2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47AF2#FFFFFF#000000##000000
##B47AF21.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5693F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#A98FAB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b47af2;
/* rgb */ color: rgb(180, 122, 242);
/* oklch */ color: oklch(68.8% 0.177 304.5);
Tailwind
colors: {
  custom: {
    50: '#cda2f7',
    500: '#b47af2',
    950: '#000000',
  },
}
SCSS
$custom: #b47af2;
$custom-light: #cda2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b47af2",
  "rgb": {
    "r": 180,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 269,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68848,
    "c": 0.17728,
    "h": 304.5
  },
  "luminance": 0.30033
}

Semantic roles & 50–950 ramp

primary
#B47AF2
secondary
#E4F3D4
accent
#DF0776
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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