#B261E2#B261E2

#B261E2 is a light, vivid violet. Relative luminance 0.235; OKLCH L 64.0% C 0.197 H 311.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B261E2
RGBrgb(178, 97, 226)
HSLhsl(278, 69%, 63%)
HSVhsv(278, 57%, 89%)
CMYKcmyk(21.2%, 57.1%, 0%, 11.4%)
CIE-LABlab(55.59, 54.39, -52.85)
CIE-LCHlch(55.59, 75.84, 315.82°)
OKLaboklab(64.03% 0.1292 -0.1484)
OKLCHoklch(64.03% 0.197 311)
XYZxyz(36.3597, 23.5061, 74.5585)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261E2 #91E261
analogous
#7161E2 #B261E2 #E261D2
triadic
#B261E2 #E2B261 #61E2B2
tetradic
#B261E2 #E27161 #91E261 #61D2E2
square
#B261E2 #E27161 #91E261 #61D2E2
split-complementary
#B261E2 #D2E261 #61E271
monochromatic
#761FA9 #992DD9 #B261E2 #CB95EB #E4C8F5

Accessibility & contrast

On white

3.68
#B261E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#B261E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261E2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261E2#FFFFFF#000000##000000
##B261E21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E6
Deuteranopia (green-blind)
#5687DF
Tritanopia (blue-blind)
#AC7898
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b261e2;
/* rgb */ color: rgb(178, 97, 226);
/* oklch */ color: oklch(64.0% 0.197 311.0);
Tailwind
colors: {
  custom: {
    50: '#cc91ec',
    500: '#b261e2',
    950: '#000000',
  },
}
SCSS
$custom: #b261e2;
$custom-light: #cc91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b261e2",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 226
  },
  "hsl": {
    "h": 277.674,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64027,
    "c": 0.19674,
    "h": 311
  },
  "luminance": 0.23505
}

Semantic roles & 50–950 ramp

primary
#B261E2
secondary
#CAE6B8
accent
#D1155B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B261E2

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

Preview Lab → · Contrast checker → · Palette generator →

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