#B38DE7#B38DE7

#B38DE7 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.4% C 0.133 H 302.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#B38DE7
RGBrgb(179, 141, 231)
HSLhsl(265, 65%, 73%)
HSVhsv(265, 39%, 91%)
CMYKcmyk(22.5%, 39%, 0%, 9.4%)
CIE-LABlab(65.28, 32.10, -40.32)
CIE-LCHlch(65.28, 51.54, 308.53°)
OKLaboklab(71.35% 0.0717 -0.1121)
OKLCHoklch(71.35% 0.133 302.6)
XYZxyz(42.5360, 34.4030, 79.9854)
Luminance0.3440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38DE7 #C1E78D
analogous
#8D94E7 #B38DE7 #E08DE7
triadic
#B38DE7 #E7B38D #8DE7B3
tetradic
#B38DE7 #E78D94 #C1E78D #8DE7E0
square
#B38DE7 #E78D94 #C1E78D #8DE7E0
split-complementary
#B38DE7 #E7E08D #94E78D
monochromatic
#702BCE #915ADC #B38DE7 #D5C0F2 #EEE6FA

Accessibility & contrast

On white

2.66
#B38DE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#B38DE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38DE7
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38DE7#FFFFFF#000000##000000
##B38DE71.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#779EEA
Deuteranopia (green-blind)
#7F9EE5
Tritanopia (blue-blind)
#AA9CAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b38de7;
/* rgb */ color: rgb(179, 141, 231);
/* oklch */ color: oklch(71.4% 0.133 302.6);
Tailwind
colors: {
  custom: {
    50: '#cbafef',
    500: '#b38de7',
    950: '#000000',
  },
}
SCSS
$custom: #b38de7;
$custom-light: #cbafef;
$custom-dark: #000000;
JSON
{
  "hex": "#b38de7",
  "rgb": {
    "r": 179,
    "g": 141,
    "b": 231
  },
  "hsl": {
    "h": 265.333,
    "s": 65.217,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71353,
    "c": 0.13309,
    "h": 302.6
  },
  "luminance": 0.34403
}

Semantic roles & 50–950 ramp

primary
#B38DE7
secondary
#E7F1DA
accent
#CD1881
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B38DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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