#B38EE7#B38EE7

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

Color values

HEX#B38EE7
RGBrgb(179, 142, 231)
HSLhsl(265, 65%, 73%)
HSVhsv(265, 39%, 91%)
CMYKcmyk(22.5%, 38.5%, 0%, 9.4%)
CIE-LABlab(65.51, 31.54, -39.96)
CIE-LCHlch(65.51, 50.91, 308.29°)
OKLaboklab(71.53% 0.0703 -0.1111)
OKLCHoklch(71.53% 0.131 302.3)
XYZxyz(42.6841, 34.6992, 80.0347)
Luminance0.3470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EE7 #C2E78E
analogous
#8E95E7 #B38EE7 #E08EE7
triadic
#B38EE7 #E7B38E #8EE7B3
tetradic
#B38EE7 #E78E95 #C2E78E #8EE7E0
square
#B38EE7 #E78E95 #C2E78E #8EE7E0
split-complementary
#B38EE7 #E7E08E #95E78E
monochromatic
#702CCF #915CDC #B38EE7 #D5C0F2 #EEE6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B38EE7#FFFFFF#000000##000000
##B38EE71.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)
#799EEA
Deuteranopia (green-blind)
#809FE5
Tritanopia (blue-blind)
#AA9CB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b38ee7;
/* rgb */ color: rgb(179, 142, 231);
/* oklch */ color: oklch(71.5% 0.131 302.3);
Tailwind
colors: {
  custom: {
    50: '#cbafef',
    500: '#b38ee7',
    950: '#000000',
  },
}
SCSS
$custom: #b38ee7;
$custom-light: #cbafef;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ee7",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 264.944,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7153,
    "c": 0.13146,
    "h": 302.3
  },
  "luminance": 0.34699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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