#B38EF8#B38EF8

#B38EF8 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.4% C 0.153 H 298.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B38EF8
RGBrgb(179, 142, 248)
HSLhsl(261, 88%, 76%)
HSVhsv(261, 43%, 97%)
CMYKcmyk(27.8%, 42.7%, 0%, 2.7%)
CIE-LABlab(66.30, 35.56, -48.08)
CIE-LCHlch(66.30, 59.80, 306.49°)
OKLaboklab(72.38% 0.0734 -0.1346)
OKLCHoklch(72.38% 0.153 298.6)
XYZxyz(45.2027, 35.7067, 93.2994)
Luminance0.3571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EF8 #D3F88E
analogous
#8E9EF8 #B38EF8 #E88EF8
triadic
#B38EF8 #F8B38E #8EF8B3
tetradic
#B38EF8 #F88E9E #D3F88E #8EF8E8
square
#B38EF8 #F88E9E #D3F88E #8EF8E8
split-complementary
#B38EF8 #F8E88E #9EF88E
monochromatic
#651BF1 #8C54F4 #B38EF8 #DAC8FC #ECE2FD

Accessibility & contrast

On white

2.58
#B38EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B38EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EF8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EF8#FFFFFF#000000##000000
##B38EF81.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#A5A1B7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b38ef8;
/* rgb */ color: rgb(179, 142, 248);
/* oklch */ color: oklch(72.4% 0.153 298.6);
Tailwind
colors: {
  custom: {
    50: '#ccaffb',
    500: '#b38ef8',
    950: '#000000',
  },
}
SCSS
$custom: #b38ef8;
$custom-light: #ccaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ef8",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 260.943,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72376,
    "c": 0.15329,
    "h": 298.6
  },
  "luminance": 0.35707
}

Semantic roles & 50–950 ramp

primary
#B38EF8
secondary
#EAF5D6
accent
#E50195
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B38EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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