#B261EB#B261EB

#B261EB is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.6% C 0.206 H 308.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B261EB
RGBrgb(178, 97, 235)
HSLhsl(275, 78%, 65%)
HSVhsv(275, 59%, 92%)
CMYKcmyk(24.3%, 58.7%, 0%, 7.8%)
CIE-LABlab(56.10, 56.35, -57.08)
CIE-LCHlch(56.10, 80.21, 314.63°)
OKLaboklab(64.56% 0.1293 -0.1608)
OKLCHoklch(64.56% 0.206 308.8)
XYZxyz(37.6272, 24.0131, 81.2340)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261EB #9AEB61
analogous
#6D61EB #B261EB #EB61DF
triadic
#B261EB #EBB261 #61EBB2
tetradic
#B261EB #EB6D61 #9AEB61 #61DFEB
square
#B261EB #EB6D61 #9AEB61 #61DFEB
split-complementary
#B261EB #DFEB61 #61EB6D
monochromatic
#7718BA #982BE4 #B261EB #CC97F2 #E7CEF9

Accessibility & contrast

On white

3.62
#B261EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#B261EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261EB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261EB#FFFFFF#000000##000000
##B261EB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EF
Deuteranopia (green-blind)
#4E88E8
Tritanopia (blue-blind)
#AA7B9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b261eb;
/* rgb */ color: rgb(178, 97, 235);
/* oklch */ color: oklch(64.6% 0.206 308.8);
Tailwind
colors: {
  custom: {
    50: '#cc91f2',
    500: '#b261eb',
    950: '#000000',
  },
}
SCSS
$custom: #b261eb;
$custom-light: #cc91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b261eb",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 275.217,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64564,
    "c": 0.20633,
    "h": 308.8
  },
  "luminance": 0.24013
}

Semantic roles & 50–950 ramp

primary
#B261EB
secondary
#D0EBBD
accent
#DA0C61
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B261EB

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

Preview Lab → · Contrast checker → · Palette generator →

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