#B38BF2#B38BF2

#B38BF2 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.6% C 0.150 H 300.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#B38BF2
RGBrgb(179, 139, 242)
HSLhsl(263, 80%, 75%)
HSVhsv(263, 43%, 95%)
CMYKcmyk(26%, 42.6%, 0%, 5.1%)
CIE-LABlab(65.33, 35.80, -46.31)
CIE-LCHlch(65.33, 58.53, 307.70°)
OKLaboklab(71.55% 0.0765 -0.1294)
OKLCHoklch(71.55% 0.15 300.6)
XYZxyz(43.8464, 34.4596, 88.3286)
Luminance0.3446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38BF2 #CAF28B
analogous
#8B97F2 #B38BF2 #E78BF2
triadic
#B38BF2 #F2B38B #8BF2B3
tetradic
#B38BF2 #F28B97 #CAF28B #8BF2E7
square
#B38BF2 #F28B97 #CAF28B #8BF2E7
split-complementary
#B38BF2 #F2E78B #97F28B
monochromatic
#6B1DE6 #8F54EC #B38BF2 #D7C2F8 #EDE3FC

Accessibility & contrast

On white

2.66
#B38BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#B38BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38BF2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38BF2#FFFFFF#000000##000000
##B38BF21.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#A79DB3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b38bf2;
/* rgb */ color: rgb(179, 139, 242);
/* oklch */ color: oklch(71.6% 0.150 300.6);
Tailwind
colors: {
  custom: {
    50: '#ccadf7',
    500: '#b38bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b38bf2;
$custom-light: #ccadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b38bf2",
  "rgb": {
    "r": 179,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 263.301,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71552,
    "c": 0.15034,
    "h": 300.6
  },
  "luminance": 0.3446
}

Semantic roles & 50–950 ramp

primary
#B38BF2
secondary
#E9F4D7
accent
#DC098A
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85

Preview Lab

Preview with #B38BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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