#B291CA#B291CA

#B291CA is a light, moderate violet. Relative luminance 0.340; OKLCH L 70.7% C 0.089 H 310.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#B291CA
RGBrgb(178, 145, 202)
HSLhsl(275, 35%, 68%)
HSVhsv(275, 28%, 79%)
CMYKcmyk(11.9%, 28.2%, 0%, 20.8%)
CIE-LABlab(64.95, 23.09, -24.73)
CIE-LCHlch(64.95, 33.84, 313.04°)
OKLaboklab(70.69% 0.0578 -0.0676)
OKLCHoklch(70.69% 0.089 310.5)
XYZxyz(39.1443, 33.9805, 60.3624)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B291CA #A9CA91
analogous
#9591CA #B291CA #CA91C5
triadic
#B291CA #CAB291 #91CAB2
tetradic
#B291CA #CA9591 #A9CA91 #91C5CA
square
#B291CA #CA9591 #A9CA91 #91C5CA
split-complementary
#B291CA #C5CA91 #91CA95
monochromatic
#774998 #9568B6 #B291CA #CFBADE #ECE4F2

Accessibility & contrast

On white

2.69
#B291CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#B291CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B291CA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B291CA#FFFFFF#000000##000000
##B291CA1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#889CCC
Deuteranopia (green-blind)
#8E9EC8
Tritanopia (blue-blind)
#B098A5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b291ca;
/* rgb */ color: rgb(178, 145, 202);
/* oklch */ color: oklch(70.7% 0.089 310.5);
Tailwind
colors: {
  custom: {
    50: '#c9b1da',
    500: '#b291ca',
    950: '#000000',
  },
}
SCSS
$custom: #b291ca;
$custom-light: #c9b1da;
$custom-dark: #000000;
JSON
{
  "hex": "#b291ca",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 202
  },
  "hsl": {
    "h": 274.737,
    "s": 34.969,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70685,
    "c": 0.08892,
    "h": 310.5
  },
  "luminance": 0.3398
}

Semantic roles & 50–950 ramp

primary
#B291CA
secondary
#DAE4D3
accent
#AE3869
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#131014
muted
#827F83

Preview Lab

Preview with #B291CA

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

Preview Lab → · Contrast checker → · Palette generator →

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