#B38EF5#B38EF5

#B38EF5 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.2% C 0.149 H 299.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B38EF5
RGBrgb(179, 142, 245)
HSLhsl(262, 84%, 76%)
HSVhsv(262, 42%, 96%)
CMYKcmyk(26.9%, 42%, 0%, 3.9%)
CIE-LABlab(66.15, 34.84, -46.66)
CIE-LCHlch(66.15, 58.23, 306.75°)
OKLaboklab(72.22% 0.0729 -0.1305)
OKLCHoklch(72.22% 0.149 299.2)
XYZxyz(44.7410, 35.5220, 90.8678)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EF5 #D0F58E
analogous
#8E9CF5 #B38EF5 #E68EF5
triadic
#B38EF5 #F5B38E #8EF5B3
tetradic
#B38EF5 #F58E9C #D0F58E #8EF5E6
square
#B38EF5 #F58E9C #D0F58E #8EF5E6
split-complementary
#B38EF5 #F5E68E #9CF58E
monochromatic
#671EEB #8D56F0 #B38EF5 #D9C6FA #ECE3FD

Accessibility & contrast

On white

2.59
#B38EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B38EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EF5
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EF5#FFFFFF#000000##000000
##B38EF51.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1F9
Deuteranopia (green-blind)
#79A0F2
Tritanopia (blue-blind)
#A6A0B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b38ef5;
/* rgb */ color: rgb(179, 142, 245);
/* oklch */ color: oklch(72.2% 0.149 299.2);
Tailwind
colors: {
  custom: {
    50: '#ccaff9',
    500: '#b38ef5',
    950: '#000000',
  },
}
SCSS
$custom: #b38ef5;
$custom-light: #ccaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ef5",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 261.553,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72223,
    "c": 0.14944,
    "h": 299.2
  },
  "luminance": 0.35522
}

Semantic roles & 50–950 ramp

primary
#B38EF5
secondary
#EAF4D7
accent
#E00592
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B38EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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