#B38FF7#B38FF7

#B38FF7 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.5% C 0.150 H 298.5°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B38FF7
RGBrgb(179, 143, 247)
HSLhsl(261, 87%, 76%)
HSVhsv(261, 42%, 97%)
CMYKcmyk(27.5%, 42.1%, 0%, 3.1%)
CIE-LABlab(66.48, 34.76, -47.24)
CIE-LCHlch(66.48, 58.65, 306.35°)
OKLaboklab(72.5% 0.0719 -0.1322)
OKLCHoklch(72.5% 0.15 298.5)
XYZxyz(45.1974, 35.9437, 92.5343)
Luminance0.3594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38FF7 #D3F78F
analogous
#8F9FF7 #B38FF7 #E78FF7
triadic
#B38FF7 #F7B38F #8FF7B3
tetradic
#B38FF7 #F78F9F #D3F78F #8FF7E7
square
#B38FF7 #F78F9F #D3F78F #8FF7E7
split-complementary
#B38FF7 #F7E78F #9FF78F
monochromatic
#651DEF #8C56F3 #B38FF7 #DAC8FB #ECE2FD

Accessibility & contrast

On white

2.56
#B38FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B38FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38FF7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38FF7#FFFFFF#000000##000000
##B38FF71.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#A5A1B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b38ff7;
/* rgb */ color: rgb(179, 143, 247);
/* oklch */ color: oklch(72.5% 0.150 298.5);
Tailwind
colors: {
  custom: {
    50: '#ccb0fa',
    500: '#b38ff7',
    950: '#000000',
  },
}
SCSS
$custom: #b38ff7;
$custom-light: #ccb0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ff7",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 260.769,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72498,
    "c": 0.15044,
    "h": 298.5
  },
  "luminance": 0.35944
}

Semantic roles & 50–950 ramp

primary
#B38FF7
secondary
#EAF5D6
accent
#E30295
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141017
muted
#827F85

Preview Lab

Preview with #B38FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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