#B38FEF#B38FEF

#B38FEF is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.1% C 0.140 H 300.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B38FEF
RGBrgb(179, 143, 239)
HSLhsl(263, 75%, 75%)
HSVhsv(263, 40%, 94%)
CMYKcmyk(25.1%, 40.2%, 0%, 6.3%)
CIE-LABlab(66.11, 32.85, -43.44)
CIE-LCHlch(66.11, 54.46, 307.10°)
OKLaboklab(72.1% 0.0705 -0.1211)
OKLCHoklch(72.1% 0.14 300.2)
XYZxyz(43.9893, 35.4604, 86.1717)
Luminance0.3546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38FEF #CBEF8F
analogous
#8F9BEF #B38FEF #E38FEF
triadic
#B38FEF #EFB38F #8FEFB3
tetradic
#B38FEF #EF8F9B #CBEF8F #8FEFE3
square
#B38FEF #EF8F9B #CBEF8F #8FEFE3
split-complementary
#B38FEF #EFE38F #9BEF8F
monochromatic
#6A24E0 #8F59E7 #B38FEF #D7C5F7 #EDE4FB

Accessibility & contrast

On white

2.60
#B38FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B38FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38FEF
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38FEF#FFFFFF#000000##000000
##B38FEF1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#A89FB4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b38fef;
/* rgb */ color: rgb(179, 143, 239);
/* oklch */ color: oklch(72.1% 0.140 300.2);
Tailwind
colors: {
  custom: {
    50: '#cbb0f4',
    500: '#b38fef',
    950: '#000000',
  },
}
SCSS
$custom: #b38fef;
$custom-light: #cbb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b38fef",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 262.5,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72096,
    "c": 0.14014,
    "h": 300.2
  },
  "luminance": 0.35461
}

Semantic roles & 50–950 ramp

primary
#B38FEF
secondary
#E9F3D8
accent
#D70E8C
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #B38FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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