#B38CE6#B38CE6

#B38CE6 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.1% C 0.133 H 303.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B38CE6
RGBrgb(179, 140, 230)
HSLhsl(266, 64%, 73%)
HSVhsv(266, 39%, 90%)
CMYKcmyk(22.2%, 39.1%, 0%, 9.8%)
CIE-LABlab(65.00, 32.43, -40.20)
CIE-LCHlch(65.00, 51.65, 308.89°)
OKLaboklab(71.13% 0.0729 -0.1118)
OKLCHoklch(71.13% 0.133 303.1)
XYZxyz(42.2484, 34.0531, 79.1947)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38CE6 #BFE68C
analogous
#8C92E6 #B38CE6 #E08CE6
triadic
#B38CE6 #E6B38C #8CE6B3
tetradic
#B38CE6 #E68C92 #BFE68C #8CE6E0
square
#B38CE6 #E68C92 #BFE68C #8CE6E0
split-complementary
#B38CE6 #E6E08C #92E68C
monochromatic
#712CCB #925ADB #B38CE6 #D4BEF1 #EEE6FA

Accessibility & contrast

On white

2.69
#B38CE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#B38CE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38CE6
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38CE6#FFFFFF#000000##000000
##B38CE61.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DE9
Deuteranopia (green-blind)
#7F9EE4
Tritanopia (blue-blind)
#AA9BAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b38ce6;
/* rgb */ color: rgb(179, 140, 230);
/* oklch */ color: oklch(71.1% 0.133 303.1);
Tailwind
colors: {
  custom: {
    50: '#cbaeee',
    500: '#b38ce6',
    950: '#000000',
  },
}
SCSS
$custom: #b38ce6;
$custom-light: #cbaeee;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ce6",
  "rgb": {
    "r": 179,
    "g": 140,
    "b": 230
  },
  "hsl": {
    "h": 266,
    "s": 64.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71129,
    "c": 0.13345,
    "h": 303.1
  },
  "luminance": 0.34053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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