#B38FF1#B38FF1

#B38FF1 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.2% C 0.143 H 299.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B38FF1
RGBrgb(179, 143, 241)
HSLhsl(262, 78%, 75%)
HSVhsv(262, 41%, 95%)
CMYKcmyk(25.7%, 40.7%, 0%, 5.5%)
CIE-LABlab(66.20, 33.33, -44.39)
CIE-LCHlch(66.20, 55.51, 306.90°)
OKLaboklab(72.19% 0.0709 -0.1239)
OKLCHoklch(72.19% 0.143 299.8)
XYZxyz(44.2864, 35.5793, 87.7364)
Luminance0.3558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38FF1 #CDF18F
analogous
#8F9CF1 #B38FF1 #E48FF1
triadic
#B38FF1 #F1B38F #8FF1B3
tetradic
#B38FF1 #F18F9C #CDF18F #8FF1E4
square
#B38FF1 #F18F9C #CDF18F #8FF1E4
split-complementary
#B38FF1 #F1E48F #9CF18F
monochromatic
#6922E3 #8E59EA #B38FF1 #D8C5F8 #EDE4FC

Accessibility & contrast

On white

2.59
#B38FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B38FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38FF1
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38FF1#FFFFFF#000000##000000
##B38FF11.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F5
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#A7A0B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b38ff1;
/* rgb */ color: rgb(179, 143, 241);
/* oklch */ color: oklch(72.2% 0.143 299.8);
Tailwind
colors: {
  custom: {
    50: '#cbb0f6',
    500: '#b38ff1',
    950: '#000000',
  },
}
SCSS
$custom: #b38ff1;
$custom-light: #cbb0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ff1",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 241
  },
  "hsl": {
    "h": 262.041,
    "s": 77.778,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72195,
    "c": 0.14272,
    "h": 299.8
  },
  "luminance": 0.3558
}

Semantic roles & 50–950 ramp

primary
#B38FF1
secondary
#E9F3D8
accent
#DA0B8E
background
#FCFAFF
surface
#F9F5FE
border
#D2CFD6
text
#131017
muted
#827F85

Preview Lab

Preview with #B38FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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