#B38CE9#B38CE9

#B38CE9 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.3% C 0.137 H 302.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B38CE9
RGBrgb(179, 140, 233)
HSLhsl(265, 68%, 73%)
HSVhsv(265, 40%, 91%)
CMYKcmyk(23.2%, 39.9%, 0%, 8.6%)
CIE-LABlab(65.14, 33.12, -41.65)
CIE-LCHlch(65.14, 53.21, 308.50°)
OKLaboklab(71.28% 0.0735 -0.1159)
OKLCHoklch(71.28% 0.137 302.4)
XYZxyz(42.6733, 34.2231, 81.4326)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38CE9 #C2E98C
analogous
#8C93E9 #B38CE9 #E18CE9
triadic
#B38CE9 #E9B38C #8CE9B3
tetradic
#B38CE9 #E98C93 #C2E98C #8CE9E1
square
#B38CE9 #E98C93 #C2E98C #8CE9E1
split-complementary
#B38CE9 #E9E18C #93E98C
monochromatic
#7028D2 #9159DF #B38CE9 #D5BFF3 #EEE5FA

Accessibility & contrast

On white

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

On black

7.84
#B38CE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38CE9
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38CE9#FFFFFF#000000##000000
##B38CE91.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b38ce9;
/* rgb */ color: rgb(179, 140, 233);
/* oklch */ color: oklch(71.3% 0.137 302.4);
Tailwind
colors: {
  custom: {
    50: '#cbaef0',
    500: '#b38ce9',
    950: '#000000',
  },
}
SCSS
$custom: #b38ce9;
$custom-light: #cbaef0;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ce9",
  "rgb": {
    "r": 179,
    "g": 140,
    "b": 233
  },
  "hsl": {
    "h": 265.161,
    "s": 67.883,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71275,
    "c": 0.13728,
    "h": 302.4
  },
  "luminance": 0.34223
}

Semantic roles & 50–950 ramp

primary
#B38CE9
secondary
#E7F2D9
accent
#D01682
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B38CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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