#B38FE6#B38FE6

#B38FE6 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.7% C 0.129 H 302.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B38FE6
RGBrgb(179, 143, 230)
HSLhsl(265, 64%, 73%)
HSVhsv(265, 38%, 90%)
CMYKcmyk(22.2%, 37.8%, 0%, 9.8%)
CIE-LABlab(65.70, 30.75, -39.11)
CIE-LCHlch(65.70, 49.75, 308.18°)
OKLaboklab(71.66% 0.0687 -0.1086)
OKLCHoklch(71.66% 0.129 302.3)
XYZxyz(42.6927, 34.9418, 79.3428)
Luminance0.3494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38FE6 #C2E68F
analogous
#8F96E6 #B38FE6 #DF8FE6
triadic
#B38FE6 #E6B38F #8FE6B3
tetradic
#B38FE6 #E68F96 #C2E68F #8FE6DF
square
#B38FE6 #E68F96 #C2E68F #8FE6DF
split-complementary
#B38FE6 #E6DF8F #96E68F
monochromatic
#702ECD #915DDB #B38FE6 #D5C1F1 #EEE6F9

Accessibility & contrast

On white

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

On black

7.99
#B38FE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38FE6
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38FE6#FFFFFF#000000##000000
##B38FE61.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9FE9
Deuteranopia (green-blind)
#829FE4
Tritanopia (blue-blind)
#AA9DB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b38fe6;
/* rgb */ color: rgb(179, 143, 230);
/* oklch */ color: oklch(71.7% 0.129 302.3);
Tailwind
colors: {
  custom: {
    50: '#cbb0ee',
    500: '#b38fe6',
    950: '#000000',
  },
}
SCSS
$custom: #b38fe6;
$custom-light: #cbb0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b38fe6",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 230
  },
  "hsl": {
    "h": 264.828,
    "s": 63.504,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71659,
    "c": 0.12853,
    "h": 302.3
  },
  "luminance": 0.34942
}

Semantic roles & 50–950 ramp

primary
#B38FE6
secondary
#E7F1DA
accent
#CB1A82
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B38FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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