#B38CF7#B38CF7

#B38CF7 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.0% C 0.155 H 299.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B38CF7
RGBrgb(179, 140, 247)
HSLhsl(262, 87%, 76%)
HSVhsv(262, 43%, 97%)
CMYKcmyk(27.5%, 43.3%, 0%, 3.1%)
CIE-LABlab(65.79, 36.43, -48.32)
CIE-LCHlch(65.79, 60.52, 307.02°)
OKLaboklab(71.98% 0.0759 -0.1353)
OKLCHoklch(71.98% 0.155 299.3)
XYZxyz(44.7531, 35.0550, 92.3862)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38CF7 #D0F78C
analogous
#8C9AF7 #B38CF7 #E88CF7
triadic
#B38CF7 #F7B38C #8CF7B3
tetradic
#B38CF7 #F78C9A #D0F78C #8CF7E8
square
#B38CF7 #F78C9A #D0F78C #8CF7E8
split-complementary
#B38CF7 #F7E88C #9AF78C
monochromatic
#671AEF #8D53F3 #B38CF7 #D9C5FB #ECE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B38CF7#FFFFFF#000000##000000
##B38CF71.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)
#6DA0FB
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#A69FB6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b38cf7;
/* rgb */ color: rgb(179, 140, 247);
/* oklch */ color: oklch(72.0% 0.155 299.3);
Tailwind
colors: {
  custom: {
    50: '#ccaefa',
    500: '#b38cf7',
    950: '#000000',
  },
}
SCSS
$custom: #b38cf7;
$custom-light: #ccaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#b38cf7",
  "rgb": {
    "r": 179,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 261.869,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71981,
    "c": 0.15514,
    "h": 299.3
  },
  "luminance": 0.35055
}

Semantic roles & 50–950 ramp

primary
#B38CF7
secondary
#EAF5D6
accent
#E40291
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B38CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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