#B38EFE#B38EFE

#B38EFE is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.7% C 0.161 H 297.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B38EFE
RGBrgb(179, 142, 254)
HSLhsl(260, 98%, 78%)
HSVhsv(260, 44%, 100%)
CMYKcmyk(29.5%, 44.1%, 0%, 0.4%)
CIE-LABlab(66.58, 37.02, -50.90)
CIE-LCHlch(66.58, 62.93, 306.03°)
OKLaboklab(72.69% 0.0743 -0.1428)
OKLCHoklch(72.69% 0.161 297.5)
XYZxyz(46.1485, 36.0850, 98.2805)
Luminance0.3609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EFE #D9FE8E
analogous
#8EA1FE #B38EFE #EB8EFE
triadic
#B38EFE #FEB38E #8EFEB3
tetradic
#B38EFE #FE8EA1 #D9FE8E #8EFEEB
square
#B38EFE #FE8EA1 #D9FE8E #8EFEEB
split-complementary
#B38EFE #FEEB8E #A1FE8E
monochromatic
#6115FD #8A51FD #B38EFE #DCCBFF #EBE1FF

Accessibility & contrast

On white

2.56
#B38EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B38EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EFE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EFE#FFFFFF#000000##000000
##B38EFE1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#73A1FB
Tritanopia (blue-blind)
#A3A2BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b38efe;
/* rgb */ color: rgb(179, 142, 254);
/* oklch */ color: oklch(72.7% 0.161 297.5);
Tailwind
colors: {
  custom: {
    50: '#ccafff',
    500: '#b38efe',
    950: '#000000',
  },
}
SCSS
$custom: #b38efe;
$custom-light: #ccafff;
$custom-dark: #000000;
JSON
{
  "hex": "#b38efe",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 259.821,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72689,
    "c": 0.16096,
    "h": 297.5
  },
  "luminance": 0.36085
}

Semantic roles & 50–950 ramp

primary
#B38EFE
secondary
#EBF7D4
accent
#E6009A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B38EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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