#B38BFB#B38BFB

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

Color values

HEX#B38BFB
RGBrgb(179, 139, 251)
HSLhsl(261, 93%, 76%)
HSVhsv(261, 45%, 98%)
CMYKcmyk(28.7%, 44.6%, 0%, 1.6%)
CIE-LABlab(65.76, 37.95, -50.56)
CIE-LCHlch(65.76, 63.22, 306.89°)
OKLaboklab(72.02% 0.0778 -0.1418)
OKLCHoklch(72.02% 0.162 298.8)
XYZxyz(45.2315, 35.0136, 95.6234)
Luminance0.3501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38BFB #D3FB8B
analogous
#8B9BFB #B38BFB #EB8BFB
triadic
#B38BFB #FBB38B #8BFBB3
tetradic
#B38BFB #FB8B9B #D3FB8B #8BFBEB
square
#B38BFB #FB8B9B #D3FB8B #8BFBEB
split-complementary
#B38BFB #FBEB8B #9BFB8B
monochromatic
#6515F7 #8C50F9 #B38BFB #DAC6FD #ECE1FE

Accessibility & contrast

On white

2.62
#B38BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#B38BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38BFB
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38BFB#FFFFFF#000000##000000
##B38BFB1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#A49FB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b38bfb;
/* rgb */ color: rgb(179, 139, 251);
/* oklch */ color: oklch(72.0% 0.162 298.8);
Tailwind
colors: {
  custom: {
    50: '#ccadfd',
    500: '#b38bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b38bfb;
$custom-light: #ccadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b38bfb",
  "rgb": {
    "r": 179,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 261.429,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7202,
    "c": 0.16176,
    "h": 298.8
  },
  "luminance": 0.35014
}

Semantic roles & 50–950 ramp

primary
#B38BFB
secondary
#EAF6D5
accent
#E60094
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B38BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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