#B38DFF#B38DFF

#B38DFF is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.6% C 0.164 H 297.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B38DFF
RGBrgb(179, 141, 255)
HSLhsl(260, 100%, 78%)
HSVhsv(260, 45%, 100%)
CMYKcmyk(29.8%, 44.7%, 0%, 0%)
CIE-LABlab(66.41, 37.82, -51.72)
CIE-LCHlch(66.41, 64.07, 306.17°)
OKLaboklab(72.57% 0.0757 -0.1452)
OKLCHoklch(72.57% 0.164 297.5)
XYZxyz(46.1609, 35.8530, 99.0767)
Luminance0.3585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38DFF #D9FF8D
analogous
#8DA0FF #B38DFF #EC8DFF
triadic
#B38DFF #FFB38D #8DFFB3
tetradic
#B38DFF #FF8DA0 #D9FF8D #8DFFEC
square
#B38DFF #FF8DA0 #D9FF8D #8DFFEC
split-complementary
#B38DFF #FFEC8D #A0FF8D
monochromatic
#6113FF #8A50FF #B38DFF #DCCAFF #EBE0FF

Accessibility & contrast

On white

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

On black

8.17
#B38DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38DFF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38DFF#FFFFFF#000000##000000
##B38DFF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA2FF
Deuteranopia (green-blind)
#72A0FC
Tritanopia (blue-blind)
#A3A2BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b38dff;
/* rgb */ color: rgb(179, 141, 255);
/* oklch */ color: oklch(72.6% 0.164 297.5);
Tailwind
colors: {
  custom: {
    50: '#ccafff',
    500: '#b38dff',
    950: '#000000',
  },
}
SCSS
$custom: #b38dff;
$custom-light: #ccafff;
$custom-dark: #000000;
JSON
{
  "hex": "#b38dff",
  "rgb": {
    "r": 179,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 260,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72571,
    "c": 0.16376,
    "h": 297.5
  },
  "luminance": 0.35853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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