#B38FF2#B38FF2

#B38FF2 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.2% C 0.144 H 299.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B38FF2
RGBrgb(179, 143, 242)
HSLhsl(262, 79%, 75%)
HSVhsv(262, 41%, 95%)
CMYKcmyk(26%, 40.9%, 0%, 5.1%)
CIE-LABlab(66.24, 33.57, -44.87)
CIE-LCHlch(66.24, 56.03, 306.80°)
OKLaboklab(72.25% 0.071 -0.1253)
OKLCHoklch(72.25% 0.144 299.6)
XYZxyz(44.4362, 35.6392, 88.5252)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38FF2 #CEF28F
analogous
#8F9CF2 #B38FF2 #E48FF2
triadic
#B38FF2 #F2B38F #8FF2B3
tetradic
#B38FF2 #F28F9C #CEF28F #8FF2E4
square
#B38FF2 #F28F9C #CEF28F #8FF2E4
split-complementary
#B38FF2 #F2E48F #9CF28F
monochromatic
#6921E5 #8E58EC #B38FF2 #D8C6F8 #ECE4FC

Accessibility & contrast

On white

2.58
#B38FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B38FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38FF2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38FF2#FFFFFF#000000##000000
##B38FF21.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#A7A0B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b38ff2;
/* rgb */ color: rgb(179, 143, 242);
/* oklch */ color: oklch(72.2% 0.144 299.6);
Tailwind
colors: {
  custom: {
    50: '#ccb0f7',
    500: '#b38ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b38ff2;
$custom-light: #ccb0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ff2",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 261.818,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72245,
    "c": 0.14401,
    "h": 299.6
  },
  "luminance": 0.35639
}

Semantic roles & 50–950 ramp

primary
#B38FF2
secondary
#E9F4D7
accent
#DB0A8F
background
#FCFAFF
surface
#F9F5FE
border
#D2CFD6
text
#131017
muted
#827F85

Preview Lab

Preview with #B38FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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