#B261DF#B261DF

#B261DF is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.9% C 0.194 H 311.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B261DF
RGBrgb(178, 97, 223)
HSLhsl(279, 66%, 63%)
HSVhsv(279, 57%, 87%)
CMYKcmyk(20.2%, 56.5%, 0%, 12.5%)
CIE-LABlab(55.42, 53.74, -51.43)
CIE-LCHlch(55.42, 74.38, 316.26°)
OKLaboklab(63.85% 0.1291 -0.1442)
OKLCHoklch(63.85% 0.194 311.8)
XYZxyz(35.9517, 23.3429, 72.4095)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261DF #8EDF61
analogous
#7361DF #B261DF #DF61CD
triadic
#B261DF #DFB261 #61DFB2
tetradic
#B261DF #DF7361 #8EDF61 #61CDDF
square
#B261DF #DF7361 #8EDF61 #61CDDF
split-complementary
#B261DF #CDDF61 #61DF73
monochromatic
#7621A4 #992ED5 #B261DF #CB94E9 #E4C7F4

Accessibility & contrast

On white

3.70
#B261DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B261DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261DF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261DF#FFFFFF#000000##000000
##B261DF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A81E3
Deuteranopia (green-blind)
#5886DC
Tritanopia (blue-blind)
#AD7797
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b261df;
/* rgb */ color: rgb(178, 97, 223);
/* oklch */ color: oklch(63.9% 0.194 311.8);
Tailwind
colors: {
  custom: {
    50: '#cc91e9',
    500: '#b261df',
    950: '#000000',
  },
}
SCSS
$custom: #b261df;
$custom-light: #cc91e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b261df",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 278.571,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63851,
    "c": 0.19356,
    "h": 311.8
  },
  "luminance": 0.23342
}

Semantic roles & 50–950 ramp

primary
#B261DF
secondary
#C7E5B7
accent
#CE1759
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B261DF

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

Preview Lab → · Contrast checker → · Palette generator →

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