#B261E7#B261E7

#B261E7 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.3% C 0.202 H 309.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B261E7
RGBrgb(178, 97, 231)
HSLhsl(276, 74%, 64%)
HSVhsv(276, 58%, 91%)
CMYKcmyk(22.9%, 58%, 0%, 9.4%)
CIE-LABlab(55.87, 55.48, -55.21)
CIE-LCHlch(55.87, 78.27, 315.14°)
OKLaboklab(64.32% 0.1293 -0.1553)
OKLCHoklch(64.32% 0.202 309.8)
XYZxyz(37.0558, 23.7846, 78.2246)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261E7 #96E761
analogous
#6F61E7 #B261E7 #E761D9
triadic
#B261E7 #E7B261 #61E7B2
tetradic
#B261E7 #E76F61 #96E761 #61D9E7
square
#B261E7 #E76F61 #96E761 #61D9E7
split-complementary
#B261E7 #D9E761 #61E76F
monochromatic
#771BB2 #982CDF #B261E7 #CC96EF #E6CBF7

Accessibility & contrast

On white

3.65
#B261E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B261E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261E7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261E7#FFFFFF#000000##000000
##B261E71.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#5287E4
Tritanopia (blue-blind)
#AB7A9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b261e7;
/* rgb */ color: rgb(178, 97, 231);
/* oklch */ color: oklch(64.3% 0.202 309.8);
Tailwind
colors: {
  custom: {
    50: '#cc91ef',
    500: '#b261e7',
    950: '#000000',
  },
}
SCSS
$custom: #b261e7;
$custom-light: #cc91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b261e7",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 276.269,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64323,
    "c": 0.20207,
    "h": 309.8
  },
  "luminance": 0.23784
}

Semantic roles & 50–950 ramp

primary
#B261E7
secondary
#CDE9BB
accent
#D6105E
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B261E7

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

Preview Lab → · Contrast checker → · Palette generator →

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