#B38EF6#B38EF6

#B38EF6 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.3% C 0.151 H 299.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B38EF6
RGBrgb(179, 142, 246)
HSLhsl(261, 85%, 76%)
HSVhsv(261, 42%, 96%)
CMYKcmyk(27.2%, 42.3%, 0%, 3.5%)
CIE-LABlab(66.20, 35.08, -47.13)
CIE-LCHlch(66.20, 58.75, 306.66°)
OKLaboklab(72.27% 0.0731 -0.1318)
OKLCHoklch(72.27% 0.151 299)
XYZxyz(44.8941, 35.5832, 91.6740)
Luminance0.3558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EF6 #D1F68E
analogous
#8E9DF6 #B38EF6 #E78EF6
triadic
#B38EF6 #F6B38E #8EF6B3
tetradic
#B38EF6 #F68E9D #D1F68E #8EF6E7
square
#B38EF6 #F68E9D #D1F68E #8EF6E7
split-complementary
#B38EF6 #F6E78E #9DF68E
monochromatic
#671DED #8D55F1 #B38EF6 #D9C7FB #ECE3FD

Accessibility & contrast

On white

2.59
#B38EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B38EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EF6
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EF6#FFFFFF#000000##000000
##B38EF61.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FA
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#A6A0B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b38ef6;
/* rgb */ color: rgb(179, 142, 246);
/* oklch */ color: oklch(72.3% 0.151 299.0);
Tailwind
colors: {
  custom: {
    50: '#ccaff9',
    500: '#b38ef6',
    950: '#000000',
  },
}
SCSS
$custom: #b38ef6;
$custom-light: #ccaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ef6",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 261.346,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72274,
    "c": 0.15072,
    "h": 299
  },
  "luminance": 0.35584
}

Semantic roles & 50–950 ramp

primary
#B38EF6
secondary
#EAF5D6
accent
#E20493
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B38EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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