#B261E4#B261E4

#B261E4 is a light, vivid violet. Relative luminance 0.236; OKLCH L 64.1% C 0.199 H 310.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B261E4
RGBrgb(178, 97, 228)
HSLhsl(277, 71%, 64%)
HSVhsv(277, 57%, 89%)
CMYKcmyk(21.9%, 57.5%, 0%, 10.6%)
CIE-LABlab(55.70, 54.82, -53.80)
CIE-LCHlch(55.70, 76.81, 315.54°)
OKLaboklab(64.14% 0.1292 -0.1512)
OKLCHoklch(64.14% 0.199 310.5)
XYZxyz(36.6358, 23.6165, 76.0123)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261E4 #93E461
analogous
#7061E4 #B261E4 #E461D5
triadic
#B261E4 #E4B261 #61E4B2
tetradic
#B261E4 #E47061 #93E461 #61D5E4
square
#B261E4 #E47061 #93E461 #61D5E4
split-complementary
#B261E4 #D5E461 #61E470
monochromatic
#761EAD #992DDB #B261E4 #CB95ED #E5CAF6

Accessibility & contrast

On white

3.67
#B261E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B261E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261E4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261E4#FFFFFF#000000##000000
##B261E41.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E8
Deuteranopia (green-blind)
#5487E1
Tritanopia (blue-blind)
#AC7999
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b261e4;
/* rgb */ color: rgb(178, 97, 228);
/* oklch */ color: oklch(64.1% 0.199 310.5);
Tailwind
colors: {
  custom: {
    50: '#cc91ed',
    500: '#b261e4',
    950: '#000000',
  },
}
SCSS
$custom: #b261e4;
$custom-light: #cc91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b261e4",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 228
  },
  "hsl": {
    "h": 277.099,
    "s": 70.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64144,
    "c": 0.19887,
    "h": 310.5
  },
  "luminance": 0.23616
}

Semantic roles & 50–950 ramp

primary
#B261E4
secondary
#CBE7B9
accent
#D3135C
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B261E4

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

Preview Lab → · Contrast checker → · Palette generator →

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