#B38FFE#B38FFE

#B38FFE is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.9% C 0.159 H 297.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B38FFE
RGBrgb(179, 143, 254)
HSLhsl(259, 98%, 78%)
HSVhsv(259, 44%, 100%)
CMYKcmyk(29.5%, 43.7%, 0%, 0.4%)
CIE-LABlab(66.81, 36.46, -50.54)
CIE-LCHlch(66.81, 62.32, 305.81°)
OKLaboklab(72.86% 0.073 -0.1417)
OKLCHoklch(72.86% 0.159 297.2)
XYZxyz(46.2980, 36.3839, 98.3303)
Luminance0.3638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38FFE #DAFE8F
analogous
#8FA3FE #B38FFE #EA8FFE
triadic
#B38FFE #FEB38F #8FFEB3
tetradic
#B38FFE #FE8FA3 #DAFE8F #8FFEEA
square
#B38FFE #FE8FA3 #DAFE8F #8FFEEA
split-complementary
#B38FFE #FEEA8F #A3FE8F
monochromatic
#6116FD #8A52FD #B38FFE #DCCCFF #EAE1FF

Accessibility & contrast

On white

2.54
#B38FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B38FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38FFE
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38FFE#FFFFFF#000000##000000
##B38FFE1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#74A1FB
Tritanopia (blue-blind)
#A3A3BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b38ffe;
/* rgb */ color: rgb(179, 143, 254);
/* oklch */ color: oklch(72.9% 0.159 297.2);
Tailwind
colors: {
  custom: {
    50: '#ccb0ff',
    500: '#b38ffe',
    950: '#000000',
  },
}
SCSS
$custom: #b38ffe;
$custom-light: #ccb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ffe",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 259.459,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7286,
    "c": 0.15943,
    "h": 297.2
  },
  "luminance": 0.36384
}

Semantic roles & 50–950 ramp

primary
#B38FFE
secondary
#ECF7D4
accent
#E6009B
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141018
muted
#827F86

Preview Lab

Preview with #B38FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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