#B38FFC#B38FFC

#B38FFC is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.8% C 0.157 H 297.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B38FFC
RGBrgb(179, 143, 252)
HSLhsl(260, 95%, 77%)
HSVhsv(260, 43%, 99%)
CMYKcmyk(29%, 43.3%, 0%, 1.2%)
CIE-LABlab(66.72, 35.97, -49.60)
CIE-LCHlch(66.72, 61.27, 305.95°)
OKLaboklab(72.76% 0.0727 -0.139)
OKLCHoklch(72.76% 0.157 297.6)
XYZxyz(45.9794, 36.2564, 96.6524)
Luminance0.3626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38FFC #D8FC8F
analogous
#8FA1FC #B38FFC #EA8FFC
triadic
#B38FFC #FCB38F #8FFCB3
tetradic
#B38FFC #FC8FA1 #D8FC8F #8FFCEA
square
#B38FFC #FC8FA1 #D8FC8F #8FFCEA
split-complementary
#B38FFC #FCEA8F #A1FC8F
monochromatic
#6218F9 #8B53FA #B38FFC #DBCBFE #EBE1FE

Accessibility & contrast

On white

2.55
#B38FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#B38FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38FFC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38FFC#FFFFFF#000000##000000
##B38FFC1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#A4A3B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b38ffc;
/* rgb */ color: rgb(179, 143, 252);
/* oklch */ color: oklch(72.8% 0.157 297.6);
Tailwind
colors: {
  custom: {
    50: '#ccb0fe',
    500: '#b38ffc',
    950: '#000000',
  },
}
SCSS
$custom: #b38ffc;
$custom-light: #ccb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ffc",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 259.817,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72756,
    "c": 0.15687,
    "h": 297.6
  },
  "luminance": 0.36257
}

Semantic roles & 50–950 ramp

primary
#B38FFC
secondary
#EBF6D5
accent
#E6009A
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141018
muted
#827F86

Preview Lab

Preview with #B38FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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