#B38BF6#B38BF6

#B38BF6 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.8% C 0.155 H 299.7°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B38BF6
RGBrgb(179, 139, 246)
HSLhsl(262, 86%, 75%)
HSVhsv(262, 43%, 96%)
CMYKcmyk(27.2%, 43.5%, 0%, 3.5%)
CIE-LABlab(65.52, 36.75, -48.21)
CIE-LCHlch(65.52, 60.62, 307.32°)
OKLaboklab(71.76% 0.0771 -0.135)
OKLCHoklch(71.76% 0.155 299.7)
XYZxyz(44.4537, 34.7025, 91.5272)
Luminance0.3470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38BF6 #CEF68B
analogous
#8B98F6 #B38BF6 #E88BF6
triadic
#B38BF6 #F6B38B #8BF6B3
tetradic
#B38BF6 #F68B98 #CEF68B #8BF6E8
square
#B38BF6 #F68B98 #CEF68B #8BF6E8
split-complementary
#B38BF6 #F6E88B #98F68B
monochromatic
#6919ED #8E52F2 #B38BF6 #D8C4FA #ECE3FD

Accessibility & contrast

On white

2.64
#B38BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B38BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38BF6
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38BF6#FFFFFF#000000##000000
##B38BF61.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFA
Deuteranopia (green-blind)
#759EF3
Tritanopia (blue-blind)
#A69EB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b38bf6;
/* rgb */ color: rgb(179, 139, 246);
/* oklch */ color: oklch(71.8% 0.155 299.7);
Tailwind
colors: {
  custom: {
    50: '#ccadf9',
    500: '#b38bf6',
    950: '#000000',
  },
}
SCSS
$custom: #b38bf6;
$custom-light: #ccadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b38bf6",
  "rgb": {
    "r": 179,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 262.43,
    "s": 85.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71758,
    "c": 0.15542,
    "h": 299.7
  },
  "luminance": 0.34703
}

Semantic roles & 50–950 ramp

primary
#B38BF6
secondary
#E9F5D6
accent
#E2038F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B38BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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