#B261E8#B261E8

#B261E8 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.4% C 0.203 H 309.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B261E8
RGBrgb(178, 97, 232)
HSLhsl(276, 75%, 65%)
HSVhsv(276, 58%, 91%)
CMYKcmyk(23.3%, 58.2%, 0%, 9%)
CIE-LABlab(55.93, 55.69, -55.68)
CIE-LCHlch(55.93, 78.75, 315.01°)
OKLaboklab(64.38% 0.1293 -0.1567)
OKLCHoklch(64.38% 0.203 309.5)
XYZxyz(37.1975, 23.8412, 78.9706)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261E8 #97E861
analogous
#6F61E8 #B261E8 #E861DB
triadic
#B261E8 #E8B261 #61E8B2
tetradic
#B261E8 #E86F61 #97E861 #61DBE8
square
#B261E8 #E86F61 #97E861 #61DBE8
split-complementary
#B261E8 #DBE861 #61E86F
monochromatic
#771AB4 #982CE0 #B261E8 #CC96F0 #E6CCF8

Accessibility & contrast

On white

3.64
#B261E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B261E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261E8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261E8#FFFFFF#000000##000000
##B261E81.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EC
Deuteranopia (green-blind)
#5187E5
Tritanopia (blue-blind)
#AB7A9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b261e8;
/* rgb */ color: rgb(178, 97, 232);
/* oklch */ color: oklch(64.4% 0.203 309.5);
Tailwind
colors: {
  custom: {
    50: '#cc91f0',
    500: '#b261e8',
    950: '#000000',
  },
}
SCSS
$custom: #b261e8;
$custom-light: #cc91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b261e8",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 276,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64383,
    "c": 0.20313,
    "h": 309.5
  },
  "luminance": 0.23841
}

Semantic roles & 50–950 ramp

primary
#B261E8
secondary
#CEEABB
accent
#D70F5F
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B261E8

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

Preview Lab → · Contrast checker → · Palette generator →

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