#B28FED#B28FED

#B28FED is a light, vivid violet. Relative luminance 0.352; OKLCH L 71.9% C 0.137 H 300.1°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B28FED
RGBrgb(178, 143, 237)
HSLhsl(262, 72%, 75%)
HSVhsv(262, 40%, 93%)
CMYKcmyk(24.9%, 39.7%, 0%, 7.1%)
CIE-LABlab(65.92, 32.10, -42.63)
CIE-LCHlch(65.92, 53.36, 306.98°)
OKLaboklab(71.91% 0.069 -0.1188)
OKLCHoklch(71.91% 0.137 300.1)
XYZxyz(43.4652, 35.2241, 84.6134)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FED #CAED8F
analogous
#8F9BED #B28FED #E18FED
triadic
#B28FED #EDB28F #8FEDB2
tetradic
#B28FED #ED8F9B #CAED8F #8FEDE1
square
#B28FED #ED8F9B #CAED8F #8FEDE1
split-complementary
#B28FED #EDE18F #9BED8F
monochromatic
#6A26DC #8E5AE5 #B28FED #D6C4F5 #EDE5FB

Accessibility & contrast

On white

2.61
#B28FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B28FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FED
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FED#FFFFFF#000000##000000
##B28FED1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F1
Deuteranopia (green-blind)
#7EA0EB
Tritanopia (blue-blind)
#A79FB3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b28fed;
/* rgb */ color: rgb(178, 143, 237);
/* oklch */ color: oklch(71.9% 0.137 300.1);
Tailwind
colors: {
  custom: {
    50: '#cbb0f3',
    500: '#b28fed',
    950: '#000000',
  },
}
SCSS
$custom: #b28fed;
$custom-light: #cbb0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b28fed",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 262.34,
    "s": 72.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71906,
    "c": 0.13737,
    "h": 300.1
  },
  "luminance": 0.35224
}

Semantic roles & 50–950 ramp

primary
#B28FED
secondary
#E9F2D9
accent
#D4118C
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #B28FED

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

Preview Lab → · Contrast checker → · Palette generator →

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