#B38FF5#B38FF5

#B38FF5 is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.4% C 0.148 H 298.9°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B38FF5
RGBrgb(179, 143, 245)
HSLhsl(261, 84%, 76%)
HSVhsv(261, 42%, 96%)
CMYKcmyk(26.9%, 41.6%, 0%, 3.9%)
CIE-LABlab(66.38, 34.28, -46.29)
CIE-LCHlch(66.38, 57.61, 306.52°)
OKLaboklab(72.4% 0.0716 -0.1294)
OKLCHoklch(72.4% 0.148 298.9)
XYZxyz(44.8905, 35.8209, 90.9176)
Luminance0.3582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38FF5 #D1F58F
analogous
#8F9EF5 #B38FF5 #E68FF5
triadic
#B38FF5 #F5B38F #8FF5B3
tetradic
#B38FF5 #F58F9E #D1F58F #8FF5E6
square
#B38FF5 #F58F9E #D1F58F #8FF5E6
split-complementary
#B38FF5 #F5E68F #9EF58F
monochromatic
#671FEB #8D57F0 #B38FF5 #D9C7FA #ECE3FC

Accessibility & contrast

On white

2.57
#B38FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B38FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38FF5
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38FF5#FFFFFF#000000##000000
##B38FF51.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F9
Deuteranopia (green-blind)
#7AA1F2
Tritanopia (blue-blind)
#A6A1B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b38ff5;
/* rgb */ color: rgb(179, 143, 245);
/* oklch */ color: oklch(72.4% 0.148 298.9);
Tailwind
colors: {
  custom: {
    50: '#ccb0f9',
    500: '#b38ff5',
    950: '#000000',
  },
}
SCSS
$custom: #b38ff5;
$custom-light: #ccb0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ff5",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 261.176,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72396,
    "c": 0.14787,
    "h": 298.9
  },
  "luminance": 0.35821
}

Semantic roles & 50–950 ramp

primary
#B38FF5
secondary
#EAF4D7
accent
#E00593
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141017
muted
#827F85

Preview Lab

Preview with #B38FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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