#B38FE9#B38FE9

#B38FE9 is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.8% C 0.132 H 301.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B38FE9
RGBrgb(179, 143, 233)
HSLhsl(264, 67%, 74%)
HSVhsv(264, 39%, 91%)
CMYKcmyk(23.2%, 38.6%, 0%, 8.6%)
CIE-LABlab(65.84, 31.45, -40.56)
CIE-LCHlch(65.84, 51.32, 307.79°)
OKLaboklab(71.8% 0.0693 -0.1128)
OKLCHoklch(71.8% 0.132 301.6)
XYZxyz(43.1176, 35.1118, 81.5807)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38FE9 #C5E98F
analogous
#8F98E9 #B38FE9 #E08FE9
triadic
#B38FE9 #E9B38F #8FE9B3
tetradic
#B38FE9 #E98F98 #C5E98F #8FE9E0
square
#B38FE9 #E98F98 #C5E98F #8FE9E0
split-complementary
#B38FE9 #E9E08F #98E98F
monochromatic
#6E2AD4 #905CDF #B38FE9 #D6C2F3 #EEE5FA

Accessibility & contrast

On white

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

On black

8.02
#B38FE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38FE9
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38FE9#FFFFFF#000000##000000
##B38FE91.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#799FEC
Deuteranopia (green-blind)
#80A0E7
Tritanopia (blue-blind)
#A99EB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b38fe9;
/* rgb */ color: rgb(179, 143, 233);
/* oklch */ color: oklch(71.8% 0.132 301.6);
Tailwind
colors: {
  custom: {
    50: '#cbb0f0',
    500: '#b38fe9',
    950: '#000000',
  },
}
SCSS
$custom: #b38fe9;
$custom-light: #cbb0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b38fe9",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 233
  },
  "hsl": {
    "h": 264,
    "s": 67.164,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71803,
    "c": 0.1324,
    "h": 301.6
  },
  "luminance": 0.35112
}

Semantic roles & 50–950 ramp

primary
#B38FE9
secondary
#E8F1DA
accent
#CF1685
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #B38FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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