#B47EF2#B47EF2

#B47EF2 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.5% C 0.171 H 303.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B47EF2
RGBrgb(180, 126, 242)
HSLhsl(268, 82%, 72%)
HSVhsv(268, 48%, 95%)
CMYKcmyk(25.6%, 47.9%, 0%, 5.1%)
CIE-LABlab(62.54, 43.24, -50.71)
CIE-LCHlch(62.54, 66.64, 310.45°)
OKLaboklab(69.49% 0.0951 -0.1422)
OKLCHoklch(69.49% 0.171 303.8)
XYZxyz(42.3068, 31.0359, 87.7489)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47EF2 #BCF27E
analogous
#7E82F2 #B47EF2 #EE7EF2
triadic
#B47EF2 #F2B47E #7EF2B4
tetradic
#B47EF2 #F27E82 #BCF27E #7EF2EE
square
#B47EF2 #F27E82 #BCF27E #7EF2EE
split-complementary
#B47EF2 #F2EE7E #82F27E
monochromatic
#7416DF #9446EC #B47EF2 #D4B6F8 #EFE3FC

Accessibility & contrast

On white

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

On black

7.21
#B47EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47EF2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47EF2#FFFFFF#000000##000000
##B47EF21.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#A992AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b47ef2;
/* rgb */ color: rgb(180, 126, 242);
/* oklch */ color: oklch(69.5% 0.171 303.8);
Tailwind
colors: {
  custom: {
    50: '#cda4f7',
    500: '#b47ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b47ef2;
$custom-light: #cda4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b47ef2",
  "rgb": {
    "r": 180,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 267.931,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69485,
    "c": 0.17106,
    "h": 303.8
  },
  "luminance": 0.31036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B47EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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