#B291DB#B291DB

#B291DB is a light, moderate violet. Relative luminance 0.348; OKLCH L 71.4% C 0.111 H 304.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B291DB
RGBrgb(178, 145, 219)
HSLhsl(267, 51%, 71%)
HSVhsv(267, 34%, 86%)
CMYKcmyk(18.7%, 33.8%, 0%, 14.1%)
CIE-LABlab(65.62, 26.82, -33.16)
CIE-LCHlch(65.62, 42.65, 308.96°)
OKLaboklab(71.42% 0.0623 -0.0916)
OKLCHoklch(71.42% 0.111 304.2)
XYZxyz(41.2691, 34.8304, 71.5529)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B291DB #BADB91
analogous
#9195DB #B291DB #D791DB
triadic
#B291DB #DBB291 #91DBB2
tetradic
#B291DB #DB9195 #BADB91 #91DBD7
square
#B291DB #DB9195 #BADB91 #91DBD7
split-complementary
#B291DB #DBD791 #95DB91
monochromatic
#723CB6 #9263CC #B291DB #D2BFEA #EFE8F7

Accessibility & contrast

On white

2.64
#B291DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B291DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B291DB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B291DB#FFFFFF#000000##000000
##B291DB1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#819EDE
Deuteranopia (green-blind)
#889FD9
Tritanopia (blue-blind)
#AC9CAC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b291db;
/* rgb */ color: rgb(178, 145, 219);
/* oklch */ color: oklch(71.4% 0.111 304.2);
Tailwind
colors: {
  custom: {
    50: '#cab1e6',
    500: '#b291db',
    950: '#000000',
  },
}
SCSS
$custom: #b291db;
$custom-light: #cab1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b291db",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 219
  },
  "hsl": {
    "h": 266.757,
    "s": 50.685,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71418,
    "c": 0.11073,
    "h": 304.2
  },
  "luminance": 0.3483
}

Semantic roles & 50–950 ramp

primary
#B291DB
secondary
#E5EEDA
accent
#BE277B
background
#FCFAFE
surface
#F8F5FC
border
#D1CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #B291DB

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

Preview Lab → · Contrast checker → · Palette generator →

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