#B291FC#B291FC

#B291FC is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.0% C 0.154 H 296.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B291FC
RGBrgb(178, 145, 252)
HSLhsl(259, 95%, 78%)
HSVhsv(259, 42%, 99%)
CMYKcmyk(29.4%, 42.5%, 0%, 1.2%)
CIE-LABlab(67.08, 34.59, -49.02)
CIE-LCHlch(67.08, 60.00, 305.21°)
OKLaboklab(73.01% 0.0689 -0.1374)
OKLCHoklch(73.01% 0.154 296.6)
XYZxyz(46.0519, 36.7435, 96.7426)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B291FC #DBFC91
analogous
#91A5FC #B291FC #E891FC
triadic
#B291FC #FCB291 #91FCB2
tetradic
#B291FC #FC91A5 #DBFC91 #91FCE8
square
#B291FC #FC91A5 #DBFC91 #91FCE8
split-complementary
#B291FC #FCE891 #A5FC91
monochromatic
#5F1AF9 #8855FA #B291FC #DCCDFE #EAE1FE

Accessibility & contrast

On white

2.52
#B291FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B291FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B291FC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B291FC#FFFFFF#000000##000000
##B291FC1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#77A2F9
Tritanopia (blue-blind)
#A2A4BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b291fc;
/* rgb */ color: rgb(178, 145, 252);
/* oklch */ color: oklch(73.0% 0.154 296.6);
Tailwind
colors: {
  custom: {
    50: '#cbb1fe',
    500: '#b291fc',
    950: '#000000',
  },
}
SCSS
$custom: #b291fc;
$custom-light: #cbb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b291fc",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 258.505,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73012,
    "c": 0.15366,
    "h": 296.6
  },
  "luminance": 0.36744
}

Semantic roles & 50–950 ramp

primary
#B291FC
secondary
#ECF6D5
accent
#E6009F
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141118
muted
#828086

Preview Lab

Preview with #B291FC

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

Preview Lab → · Contrast checker → · Palette generator →

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