#B38AED#B38AED

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

Color values

HEX#B38AED
RGBrgb(179, 138, 237)
HSLhsl(265, 73%, 74%)
HSVhsv(265, 42%, 93%)
CMYKcmyk(24.5%, 41.8%, 0%, 7.1%)
CIE-LABlab(64.86, 35.17, -44.29)
CIE-LCHlch(64.86, 56.56, 308.46°)
OKLaboklab(71.13% 0.077 -0.1236)
OKLCHoklch(71.13% 0.146 301.9)
XYZxyz(42.9616, 33.8750, 84.3795)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38AED #C4ED8A
analogous
#8A92ED #B38AED #E48AED
triadic
#B38AED #EDB38A #8AEDB3
tetradic
#B38AED #ED8A92 #C4ED8A #8AEDE4
square
#B38AED #ED8A92 #C4ED8A #8AEDE4
split-complementary
#B38AED #EDE48A #92ED8A
monochromatic
#6E22DB #9155E5 #B38AED #D5BFF5 #EEE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B38AED#FFFFFF#000000##000000
##B38AED1.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)
#709DF1
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#A99BB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b38aed;
/* rgb */ color: rgb(179, 138, 237);
/* oklch */ color: oklch(71.1% 0.146 301.9);
Tailwind
colors: {
  custom: {
    50: '#cbacf3',
    500: '#b38aed',
    950: '#000000',
  },
}
SCSS
$custom: #b38aed;
$custom-light: #cbacf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b38aed",
  "rgb": {
    "r": 179,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 264.848,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71127,
    "c": 0.14559,
    "h": 301.9
  },
  "luminance": 0.33875
}

Semantic roles & 50–950 ramp

primary
#B38AED
secondary
#E8F3D8
accent
#D51084
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B38AED

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

Preview Lab → · Contrast checker → · Palette generator →

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