#B291CD#B291CD

#B291CD is a light, moderate violet. Relative luminance 0.341; OKLCH L 70.8% C 0.093 H 309.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B291CD
RGBrgb(178, 145, 205)
HSLhsl(273, 38%, 69%)
HSVhsv(273, 29%, 80%)
CMYKcmyk(13.2%, 29.3%, 0%, 19.6%)
CIE-LABlab(65.06, 23.74, -26.23)
CIE-LCHlch(65.06, 35.38, 312.14°)
OKLaboklab(70.81% 0.0586 -0.0718)
OKLCHoklch(70.81% 0.093 309.2)
XYZxyz(39.5030, 34.1239, 62.2513)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B291CD #ACCD91
analogous
#9491CD #B291CD #CD91CA
triadic
#B291CD #CDB291 #91CDB2
tetradic
#B291CD #CD9491 #ACCD91 #91CACD
square
#B291CD #CD9491 #ACCD91 #91CACD
split-complementary
#B291CD #CACD91 #91CD94
monochromatic
#76479C #9567BA #B291CD #CFBBE0 #EDE5F3

Accessibility & contrast

On white

2.68
#B291CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B291CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B291CD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B291CD#FFFFFF#000000##000000
##B291CD1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCF
Deuteranopia (green-blind)
#8D9ECB
Tritanopia (blue-blind)
#AF99A6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b291cd;
/* rgb */ color: rgb(178, 145, 205);
/* oklch */ color: oklch(70.8% 0.093 309.2);
Tailwind
colors: {
  custom: {
    50: '#c9b1dc',
    500: '#b291cd',
    950: '#000000',
  },
}
SCSS
$custom: #b291cd;
$custom-light: #c9b1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b291cd",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 205
  },
  "hsl": {
    "h": 273,
    "s": 37.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.7081,
    "c": 0.09272,
    "h": 309.2
  },
  "luminance": 0.34124
}

Semantic roles & 50–950 ramp

primary
#B291CD
secondary
#DCE6D4
accent
#B0356D
background
#FCFAFD
surface
#F8F5FB
border
#D1CFD4
text
#131015
muted
#827F83

Preview Lab

Preview with #B291CD

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

Preview Lab → · Contrast checker → · Palette generator →

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