#B38CF6#B38CF6

#B38CF6 is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.9% C 0.154 H 299.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#B38CF6
RGBrgb(179, 140, 246)
HSLhsl(262, 85%, 76%)
HSVhsv(262, 43%, 96%)
CMYKcmyk(27.2%, 43.1%, 0%, 3.5%)
CIE-LABlab(65.74, 36.19, -47.85)
CIE-LCHlch(65.74, 60.00, 307.11°)
OKLaboklab(71.93% 0.0757 -0.1339)
OKLCHoklch(71.93% 0.154 299.5)
XYZxyz(44.5992, 34.9934, 91.5757)
Luminance0.3499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38CF6 #CFF68C
analogous
#8C9AF6 #B38CF6 #E88CF6
triadic
#B38CF6 #F6B38C #8CF6B3
tetradic
#B38CF6 #F68C9A #CFF68C #8CF6E8
square
#B38CF6 #F68C9A #CFF68C #8CF6E8
split-complementary
#B38CF6 #F6E88C #9AF68C
monochromatic
#681AED #8D53F2 #B38CF6 #D9C5FA #ECE3FD

Accessibility & contrast

On white

2.63
#B38CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#B38CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38CF6
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38CF6#FFFFFF#000000##000000
##B38CF61.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#A69FB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b38cf6;
/* rgb */ color: rgb(179, 140, 246);
/* oklch */ color: oklch(71.9% 0.154 299.5);
Tailwind
colors: {
  custom: {
    50: '#ccaef9',
    500: '#b38cf6',
    950: '#000000',
  },
}
SCSS
$custom: #b38cf6;
$custom-light: #ccaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b38cf6",
  "rgb": {
    "r": 179,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 262.075,
    "s": 85.484,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71929,
    "c": 0.15385,
    "h": 299.5
  },
  "luminance": 0.34994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B38CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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