#B48EE7#B48EE7

#B48EE7 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.6% C 0.132 H 302.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#B48EE7
RGBrgb(180, 142, 231)
HSLhsl(266, 65%, 73%)
HSVhsv(266, 39%, 91%)
CMYKcmyk(22.1%, 38.5%, 0%, 9.4%)
CIE-LABlab(65.61, 31.83, -39.80)
CIE-LCHlch(65.61, 50.97, 308.65°)
OKLaboklab(71.62% 0.0715 -0.1106)
OKLCHoklch(71.62% 0.132 302.9)
XYZxyz(42.9161, 34.8189, 80.0456)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EE7 #C1E78E
analogous
#8E94E7 #B48EE7 #E18EE7
triadic
#B48EE7 #E7B48E #8EE7B4
tetradic
#B48EE7 #E78E94 #C1E78E #8EE7E1
square
#B48EE7 #E78E94 #C1E78E #8EE7E1
split-complementary
#B48EE7 #E7E18E #94E78E
monochromatic
#712CCF #925CDC #B48EE7 #D6C0F2 #EEE6FA

Accessibility & contrast

On white

2.64
#B48EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#B48EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48EE7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48EE7#FFFFFF#000000##000000
##B48EE71.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#799EEA
Deuteranopia (green-blind)
#819FE5
Tritanopia (blue-blind)
#AB9CB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b48ee7;
/* rgb */ color: rgb(180, 142, 231);
/* oklch */ color: oklch(71.6% 0.132 302.9);
Tailwind
colors: {
  custom: {
    50: '#ccafef',
    500: '#b48ee7',
    950: '#000000',
  },
}
SCSS
$custom: #b48ee7;
$custom-light: #ccafef;
$custom-dark: #000000;
JSON
{
  "hex": "#b48ee7",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 265.618,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71623,
    "c": 0.1317,
    "h": 302.9
  },
  "luminance": 0.34819
}

Semantic roles & 50–950 ramp

primary
#B48EE7
secondary
#E7F1DA
accent
#CD1980
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B48EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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