#B38AFA#B38AFA

#B38AFA is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.8% C 0.162 H 299.2°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#B38AFA
RGBrgb(179, 138, 250)
HSLhsl(262, 92%, 76%)
HSVhsv(262, 45%, 98%)
CMYKcmyk(28.4%, 44.8%, 0%, 2%)
CIE-LABlab(65.49, 38.27, -50.45)
CIE-LCHlch(65.49, 63.32, 307.18°)
OKLaboklab(71.8% 0.079 -0.1415)
OKLCHoklch(71.8% 0.162 299.2)
XYZxyz(44.9302, 34.6625, 94.7474)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38AFA #D1FA8A
analogous
#8A99FA #B38AFA #EB8AFA
triadic
#B38AFA #FAB38A #8AFAB3
tetradic
#B38AFA #FA8A99 #D1FA8A #8AFAEB
square
#B38AFA #FA8A99 #D1FA8A #8AFAEB
split-complementary
#B38AFA #FAEB8A #99FA8A
monochromatic
#6715F5 #8D4FF7 #B38AFA #D9C5FD #ECE2FE

Accessibility & contrast

On white

2.65
#B38AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#B38AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38AFA
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38AFA#FFFFFF#000000##000000
##B38AFA1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#A59EB6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b38afa;
/* rgb */ color: rgb(179, 138, 250);
/* oklch */ color: oklch(71.8% 0.162 299.2);
Tailwind
colors: {
  custom: {
    50: '#ccadfc',
    500: '#b38afa',
    950: '#000000',
  },
}
SCSS
$custom: #b38afa;
$custom-light: #ccadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b38afa",
  "rgb": {
    "r": 179,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 261.964,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71798,
    "c": 0.16204,
    "h": 299.2
  },
  "luminance": 0.34663
}

Semantic roles & 50–950 ramp

primary
#B38AFA
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B38AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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