#B261DB#B261DB

#B261DB is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.6% C 0.189 H 312.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B261DB
RGBrgb(178, 97, 219)
HSLhsl(280, 63%, 62%)
HSVhsv(280, 56%, 86%)
CMYKcmyk(18.7%, 55.7%, 0%, 14.1%)
CIE-LABlab(55.21, 52.88, -49.52)
CIE-LCHlch(55.21, 72.45, 316.88°)
OKLaboklab(63.62% 0.1289 -0.1387)
OKLCHoklch(63.62% 0.189 312.9)
XYZxyz(35.4188, 23.1297, 69.6028)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261DB #8ADB61
analogous
#7561DB #B261DB #DB61C7
triadic
#B261DB #DBB261 #61DBB2
tetradic
#B261DB #DB7561 #8ADB61 #61C7DB
square
#B261DB #DB7561 #8ADB61 #61C7DB
split-complementary
#B261DB #C7DB61 #61DB75
monochromatic
#75249E #9A2FD0 #B261DB #CA93E6 #E3C5F2

Accessibility & contrast

On white

3.73
#B261DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B261DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261DB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261DB#FFFFFF#000000##000000
##B261DB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80DF
Deuteranopia (green-blind)
#5B86D8
Tritanopia (blue-blind)
#AE7695
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b261db;
/* rgb */ color: rgb(178, 97, 219);
/* oklch */ color: oklch(63.6% 0.189 312.9);
Tailwind
colors: {
  custom: {
    50: '#cc91e7',
    500: '#b261db',
    950: '#000000',
  },
}
SCSS
$custom: #b261db;
$custom-light: #cc91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b261db",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 279.836,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63621,
    "c": 0.18932,
    "h": 312.9
  },
  "luminance": 0.23129
}

Semantic roles & 50–950 ramp

primary
#B261DB
secondary
#C5E2B5
accent
#CB1B56
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B261DB

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

Preview Lab → · Contrast checker → · Palette generator →

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