#B38EFA#B38EFA

#B38EFA is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.5% C 0.156 H 298.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B38EFA
RGBrgb(179, 142, 250)
HSLhsl(261, 92%, 77%)
HSVhsv(261, 43%, 98%)
CMYKcmyk(28.4%, 43.2%, 0%, 2%)
CIE-LABlab(66.39, 36.04, -49.02)
CIE-LCHlch(66.39, 60.84, 306.33°)
OKLaboklab(72.48% 0.0737 -0.1373)
OKLCHoklch(72.48% 0.156 298.2)
XYZxyz(45.5146, 35.8314, 94.9422)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EFA #D5FA8E
analogous
#8E9FFA #B38EFA #E98EFA
triadic
#B38EFA #FAB38E #8EFAB3
tetradic
#B38EFA #FA8E9F #D5FA8E #8EFAE9
square
#B38EFA #FA8E9F #D5FA8E #8EFAE9
split-complementary
#B38EFA #FAE98E #9FFA8E
monochromatic
#6419F5 #8C53F7 #B38EFA #DAC9FD #EBE2FE

Accessibility & contrast

On white

2.57
#B38EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B38EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EFA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EFA#FFFFFF#000000##000000
##B38EFA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#76A0F7
Tritanopia (blue-blind)
#A5A1B8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b38efa;
/* rgb */ color: rgb(179, 142, 250);
/* oklch */ color: oklch(72.5% 0.156 298.2);
Tailwind
colors: {
  custom: {
    50: '#ccaffc',
    500: '#b38efa',
    950: '#000000',
  },
}
SCSS
$custom: #b38efa;
$custom-light: #ccaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b38efa",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 260.556,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7248,
    "c": 0.15584,
    "h": 298.2
  },
  "luminance": 0.35832
}

Semantic roles & 50–950 ramp

primary
#B38EFA
secondary
#EBF6D5
accent
#E60097
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B38EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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