#B38CE7#B38CE7

#B38CE7 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.2% C 0.135 H 302.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B38CE7
RGBrgb(179, 140, 231)
HSLhsl(266, 65%, 73%)
HSVhsv(266, 39%, 91%)
CMYKcmyk(22.5%, 39.4%, 0%, 9.4%)
CIE-LABlab(65.05, 32.66, -40.68)
CIE-LCHlch(65.05, 52.17, 308.76°)
OKLaboklab(71.18% 0.0731 -0.1131)
OKLCHoklch(71.18% 0.135 302.9)
XYZxyz(42.3892, 34.1094, 79.9364)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38CE7 #C0E78C
analogous
#8C92E7 #B38CE7 #E08CE7
triadic
#B38CE7 #E7B38C #8CE7B3
tetradic
#B38CE7 #E78C92 #C0E78C #8CE7E0
square
#B38CE7 #E78C92 #C0E78C #8CE7E0
split-complementary
#B38CE7 #E7E08C #92E78C
monochromatic
#712BCE #9259DC #B38CE7 #D4BFF2 #EEE6FA

Accessibility & contrast

On white

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

On black

7.82
#B38CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38CE7
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38CE7#FFFFFF#000000##000000
##B38CE71.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEA
Deuteranopia (green-blind)
#7E9EE5
Tritanopia (blue-blind)
#AA9BAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b38ce7;
/* rgb */ color: rgb(179, 140, 231);
/* oklch */ color: oklch(71.2% 0.135 302.9);
Tailwind
colors: {
  custom: {
    50: '#cbaeef',
    500: '#b38ce7',
    950: '#000000',
  },
}
SCSS
$custom: #b38ce7;
$custom-light: #cbaeef;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ce7",
  "rgb": {
    "r": 179,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 265.714,
    "s": 65.468,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71178,
    "c": 0.13472,
    "h": 302.9
  },
  "luminance": 0.34109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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