#B38CE3#B38CE3

#B38CE3 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.0% C 0.130 H 303.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B38CE3
RGBrgb(179, 140, 227)
HSLhsl(267, 61%, 72%)
HSVhsv(267, 38%, 89%)
CMYKcmyk(21.1%, 38.3%, 0%, 11%)
CIE-LABlab(64.87, 31.74, -38.75)
CIE-LCHlch(64.87, 50.09, 309.32°)
OKLaboklab(70.99% 0.0723 -0.1076)
OKLCHoklch(70.99% 0.13 303.9)
XYZxyz(41.8307, 33.8860, 76.9951)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38CE3 #BCE38C
analogous
#8C91E3 #B38CE3 #DF8CE3
triadic
#B38CE3 #E3B38C #8CE3B3
tetradic
#B38CE3 #E38C91 #BCE38C #8CE3DF
square
#B38CE3 #E38C91 #BCE38C #8CE3DF
split-complementary
#B38CE3 #E3DF8C #91E38C
monochromatic
#7330C5 #925BD7 #B38CE3 #D4BDEF #EFE6F9

Accessibility & contrast

On white

2.70
#B38CE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#B38CE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38CE3
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38CE3#FFFFFF#000000##000000
##B38CE31.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE6
Deuteranopia (green-blind)
#809DE1
Tritanopia (blue-blind)
#AB9AAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b38ce3;
/* rgb */ color: rgb(179, 140, 227);
/* oklch */ color: oklch(71.0% 0.130 303.9);
Tailwind
colors: {
  custom: {
    50: '#cbaeec',
    500: '#b38ce3',
    950: '#000000',
  },
}
SCSS
$custom: #b38ce3;
$custom-light: #cbaeec;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ce3",
  "rgb": {
    "r": 179,
    "g": 140,
    "b": 227
  },
  "hsl": {
    "h": 266.897,
    "s": 60.839,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70985,
    "c": 0.12963,
    "h": 303.9
  },
  "luminance": 0.33886
}

Semantic roles & 50–950 ramp

primary
#B38CE3
secondary
#E7F0DA
accent
#C91D7C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B38CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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