#B38DF2#B38DF2

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

Color values

HEX#B38DF2
RGBrgb(179, 141, 242)
HSLhsl(263, 80%, 75%)
HSVhsv(263, 42%, 95%)
CMYKcmyk(26%, 41.7%, 0%, 5.1%)
CIE-LABlab(65.78, 34.68, -45.59)
CIE-LCHlch(65.78, 57.28, 307.26°)
OKLaboklab(71.9% 0.0738 -0.1274)
OKLCHoklch(71.9% 0.147 300.1)
XYZxyz(44.1387, 35.0441, 88.4260)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38DF2 #CCF28D
analogous
#8D9AF2 #B38DF2 #E58DF2
triadic
#B38DF2 #F2B38D #8DF2B3
tetradic
#B38DF2 #F28D9A #CCF28D #8DF2E5
square
#B38DF2 #F28D9A #CCF28D #8DF2E5
split-complementary
#B38DF2 #F2E58D #9AF28D
monochromatic
#6A1FE5 #8E56EC #B38DF2 #D8C4F8 #EDE4FC

Accessibility & contrast

On white

2.62
#B38DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#B38DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38DF2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38DF2#FFFFFF#000000##000000
##B38DF21.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#A79EB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b38df2;
/* rgb */ color: rgb(179, 141, 242);
/* oklch */ color: oklch(71.9% 0.147 300.1);
Tailwind
colors: {
  custom: {
    50: '#ccaff7',
    500: '#b38df2',
    950: '#000000',
  },
}
SCSS
$custom: #b38df2;
$custom-light: #ccaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b38df2",
  "rgb": {
    "r": 179,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 262.574,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71897,
    "c": 0.14718,
    "h": 300.1
  },
  "luminance": 0.35044
}

Semantic roles & 50–950 ramp

primary
#B38DF2
secondary
#E9F4D7
accent
#DC0A8D
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #B38DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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