#B38BFA#B38BFA

#B38BFA is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.0% C 0.161 H 298.9°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B38BFA
RGBrgb(179, 139, 250)
HSLhsl(262, 92%, 76%)
HSVhsv(262, 44%, 98%)
CMYKcmyk(28.4%, 44.4%, 0%, 2%)
CIE-LABlab(65.71, 37.71, -50.09)
CIE-LCHlch(65.71, 62.70, 306.97°)
OKLaboklab(71.97% 0.0777 -0.1404)
OKLCHoklch(71.97% 0.161 298.9)
XYZxyz(45.0743, 34.9507, 94.7954)
Luminance0.3495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38BFA #D2FA8B
analogous
#8B9BFA #B38BFA #EB8BFA
triadic
#B38BFA #FAB38B #8BFAB3
tetradic
#B38BFA #FA8B9B #D2FA8B #8BFAEB
square
#B38BFA #FA8B9B #D2FA8B #8BFAEB
split-complementary
#B38BFA #FAEB8B #9BFA8B
monochromatic
#6616F5 #8D50F7 #B38BFA #D9C6FD #ECE2FE

Accessibility & contrast

On white

2.63
#B38BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#B38BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38BFA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38BFA#FFFFFF#000000##000000
##B38BFA1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#A59FB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b38bfa;
/* rgb */ color: rgb(179, 139, 250);
/* oklch */ color: oklch(72.0% 0.161 298.9);
Tailwind
colors: {
  custom: {
    50: '#ccadfc',
    500: '#b38bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b38bfa;
$custom-light: #ccadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b38bfa",
  "rgb": {
    "r": 179,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 261.622,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71967,
    "c": 0.1605,
    "h": 298.9
  },
  "luminance": 0.34951
}

Semantic roles & 50–950 ramp

primary
#B38BFA
secondary
#EAF6D5
accent
#E60093
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B38BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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