#B291FF#B291FF

#B291FF is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.2% C 0.158 H 296.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#B291FF
RGBrgb(178, 145, 255)
HSLhsl(258, 100%, 78%)
HSVhsv(258, 43%, 100%)
CMYKcmyk(30.2%, 43.1%, 0%, 0%)
CIE-LABlab(67.23, 35.33, -50.43)
CIE-LCHlch(67.23, 61.57, 305.01°)
OKLaboklab(73.17% 0.0693 -0.1415)
OKLCHoklch(73.17% 0.158 296.1)
XYZxyz(46.5311, 36.9352, 99.2661)
Luminance0.3694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B291FF #DEFF91
analogous
#91A7FF #B291FF #E991FF
triadic
#B291FF #FFB291 #91FFB2
tetradic
#B291FF #FF91A7 #DEFF91 #91FFE9
square
#B291FF #FF91A7 #DEFF91 #91FFE9
split-complementary
#B291FF #FFE991 #A7FF91
monochromatic
#5C17FF #8754FF #B291FF #DDCEFF #EAE0FF

Accessibility & contrast

On white

2.50
#B291FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#B291FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B291FF
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B291FF#FFFFFF#000000##000000
##B291FF1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#75A2FC
Tritanopia (blue-blind)
#A1A5BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b291ff;
/* rgb */ color: rgb(178, 145, 255);
/* oklch */ color: oklch(73.2% 0.158 296.1);
Tailwind
colors: {
  custom: {
    50: '#cbb1ff',
    500: '#b291ff',
    950: '#000000',
  },
}
SCSS
$custom: #b291ff;
$custom-light: #cbb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b291ff",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 255
  },
  "hsl": {
    "h": 258,
    "s": 100,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73168,
    "c": 0.15754,
    "h": 296.1
  },
  "luminance": 0.36936
}

Semantic roles & 50–950 ramp

primary
#B291FF
secondary
#EDF7D4
accent
#E600A1
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141118
muted
#828086

Preview Lab

Preview with #B291FF

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

Preview Lab → · Contrast checker → · Palette generator →

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