#B38CE4#B38CE4

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

Color values

HEX#B38CE4
RGBrgb(179, 140, 228)
HSLhsl(267, 62%, 72%)
HSVhsv(267, 39%, 89%)
CMYKcmyk(21.5%, 38.6%, 0%, 10.6%)
CIE-LABlab(64.92, 31.97, -39.23)
CIE-LCHlch(64.92, 50.61, 309.17°)
OKLaboklab(71.03% 0.0725 -0.109)
OKLCHoklch(71.03% 0.131 303.6)
XYZxyz(41.9691, 33.9414, 77.7241)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38CE4 #BDE48C
analogous
#8C91E4 #B38CE4 #DF8CE4
triadic
#B38CE4 #E4B38C #8CE4B3
tetradic
#B38CE4 #E48C91 #BDE48C #8CE4DF
square
#B38CE4 #E48C91 #BDE48C #8CE4DF
split-complementary
#B38CE4 #E4DF8C #91E48C
monochromatic
#722FC7 #925AD8 #B38CE4 #D4BEF0 #EFE6F9

Accessibility & contrast

On white

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

On black

7.79
#B38CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38CE4
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38CE4#FFFFFF#000000##000000
##B38CE41.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#779CE7
Deuteranopia (green-blind)
#809DE2
Tritanopia (blue-blind)
#AB9AAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b38ce4;
/* rgb */ color: rgb(179, 140, 228);
/* oklch */ color: oklch(71.0% 0.131 303.6);
Tailwind
colors: {
  custom: {
    50: '#cbaeed',
    500: '#b38ce4',
    950: '#000000',
  },
}
SCSS
$custom: #b38ce4;
$custom-light: #cbaeed;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ce4",
  "rgb": {
    "r": 179,
    "g": 140,
    "b": 228
  },
  "hsl": {
    "h": 266.591,
    "s": 61.972,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71033,
    "c": 0.1309,
    "h": 303.6
  },
  "luminance": 0.33941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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