#B261E1#B261E1

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

Color values

HEX#B261E1
RGBrgb(178, 97, 225)
HSLhsl(278, 68%, 63%)
HSVhsv(278, 57%, 88%)
CMYKcmyk(20.9%, 56.9%, 0%, 11.8%)
CIE-LABlab(55.53, 54.17, -52.38)
CIE-LCHlch(55.53, 75.35, 315.96°)
OKLaboklab(63.97% 0.1291 -0.147)
OKLCHoklch(63.97% 0.196 311.3)
XYZxyz(36.2229, 23.4514, 73.8380)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261E1 #90E161
analogous
#7261E1 #B261E1 #E161D0
triadic
#B261E1 #E1B261 #61E1B2
tetradic
#B261E1 #E17261 #90E161 #61D0E1
square
#B261E1 #E17261 #90E161 #61D0E1
split-complementary
#B261E1 #D0E161 #61E172
monochromatic
#7620A8 #992ED7 #B261E1 #CB94EB #E4C8F5

Accessibility & contrast

On white

3.69
#B261E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B261E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261E1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261E1#FFFFFF#000000##000000
##B261E11.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3881E5
Deuteranopia (green-blind)
#5787DE
Tritanopia (blue-blind)
#AC7898
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b261e1;
/* rgb */ color: rgb(178, 97, 225);
/* oklch */ color: oklch(64.0% 0.196 311.3);
Tailwind
colors: {
  custom: {
    50: '#cc91eb',
    500: '#b261e1',
    950: '#000000',
  },
}
SCSS
$custom: #b261e1;
$custom-light: #cc91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b261e1",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 225
  },
  "hsl": {
    "h": 277.969,
    "s": 68.085,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63968,
    "c": 0.19568,
    "h": 311.3
  },
  "luminance": 0.23451
}

Semantic roles & 50–950 ramp

primary
#B261E1
secondary
#C9E6B8
accent
#D0155A
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B261E1

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

Preview Lab → · Contrast checker → · Palette generator →

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