#B38EF1#B38EF1

#B38EF1 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.0% C 0.144 H 300.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B38EF1
RGBrgb(179, 142, 241)
HSLhsl(262, 78%, 75%)
HSVhsv(262, 41%, 95%)
CMYKcmyk(25.7%, 41.1%, 0%, 5.5%)
CIE-LABlab(65.97, 33.89, -44.75)
CIE-LCHlch(65.97, 56.14, 307.13°)
OKLaboklab(72.02% 0.0722 -0.1249)
OKLCHoklch(72.02% 0.144 300)
XYZxyz(44.1370, 35.2804, 87.6865)
Luminance0.3528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EF1 #CCF18E
analogous
#8E9BF1 #B38EF1 #E48EF1
triadic
#B38EF1 #F1B38E #8EF1B3
tetradic
#B38EF1 #F18E9B #CCF18E #8EF1E4
square
#B38EF1 #F18E9B #CCF18E #8EF1E4
split-complementary
#B38EF1 #F1E48E #9BF18E
monochromatic
#6A21E4 #8E58EA #B38EF1 #D8C4F8 #EDE4FC

Accessibility & contrast

On white

2.61
#B38EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B38EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EF1
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EF1#FFFFFF#000000##000000
##B38EF11.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F5
Deuteranopia (green-blind)
#7BA0EE
Tritanopia (blue-blind)
#A79FB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b38ef1;
/* rgb */ color: rgb(179, 142, 241);
/* oklch */ color: oklch(72.0% 0.144 300.0);
Tailwind
colors: {
  custom: {
    50: '#cbaff6',
    500: '#b38ef1',
    950: '#000000',
  },
}
SCSS
$custom: #b38ef1;
$custom-light: #cbaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ef1",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 241
  },
  "hsl": {
    "h": 262.424,
    "s": 77.953,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7202,
    "c": 0.14431,
    "h": 300
  },
  "luminance": 0.35281
}

Semantic roles & 50–950 ramp

primary
#B38EF1
secondary
#E9F3D8
accent
#DA0B8D
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #B38EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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