#B38CE8#B38CE8

#B38CE8 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.2% C 0.136 H 302.6°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B38CE8
RGBrgb(179, 140, 232)
HSLhsl(265, 67%, 73%)
HSVhsv(265, 40%, 91%)
CMYKcmyk(22.8%, 39.7%, 0%, 9%)
CIE-LABlab(65.09, 32.89, -41.16)
CIE-LCHlch(65.09, 52.69, 308.63°)
OKLaboklab(71.23% 0.0733 -0.1145)
OKLCHoklch(71.23% 0.136 302.6)
XYZxyz(42.5308, 34.1661, 80.6824)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38CE8 #C1E88C
analogous
#8C93E8 #B38CE8 #E18CE8
triadic
#B38CE8 #E8B38C #8CE8B3
tetradic
#B38CE8 #E88C93 #C1E88C #8CE8E1
square
#B38CE8 #E88C93 #C1E88C #8CE8E1
split-complementary
#B38CE8 #E8E18C #93E88C
monochromatic
#702AD0 #9159DE #B38CE8 #D5BFF2 #EEE5FA

Accessibility & contrast

On white

2.68
#B38CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#B38CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38CE8
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38CE8#FFFFFF#000000##000000
##B38CE81.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#759DEB
Deuteranopia (green-blind)
#7E9EE6
Tritanopia (blue-blind)
#AA9BAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b38ce8;
/* rgb */ color: rgb(179, 140, 232);
/* oklch */ color: oklch(71.2% 0.136 302.6);
Tailwind
colors: {
  custom: {
    50: '#cbaeef',
    500: '#b38ce8',
    950: '#000000',
  },
}
SCSS
$custom: #b38ce8;
$custom-light: #cbaeef;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ce8",
  "rgb": {
    "r": 179,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 265.435,
    "s": 66.667,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71227,
    "c": 0.13601,
    "h": 302.6
  },
  "luminance": 0.34166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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