#B261EC#B261EC

#B261EC is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.6% C 0.207 H 308.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B261EC
RGBrgb(178, 97, 236)
HSLhsl(275, 79%, 65%)
HSVhsv(275, 59%, 93%)
CMYKcmyk(24.6%, 58.9%, 0%, 7.5%)
CIE-LABlab(56.16, 56.57, -57.55)
CIE-LCHlch(56.16, 80.70, 314.51°)
OKLaboklab(64.63% 0.1293 -0.1621)
OKLCHoklch(64.63% 0.207 308.6)
XYZxyz(37.7721, 24.0711, 81.9970)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261EC #9BEC61
analogous
#6C61EC #B261EC #EC61E0
triadic
#B261EC #ECB261 #61ECB2
tetradic
#B261EC #EC6C61 #9BEC61 #61E0EC
square
#B261EC #EC6C61 #9BEC61 #61E0EC
split-complementary
#B261EC #E0EC61 #61EC6C
monochromatic
#7717BC #972AE5 #B261EC #CD98F3 #E7CEF9

Accessibility & contrast

On white

3.61
#B261EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B261EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261EC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261EC#FFFFFF#000000##000000
##B261EC1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#4D88E9
Tritanopia (blue-blind)
#AA7C9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b261ec;
/* rgb */ color: rgb(178, 97, 236);
/* oklch */ color: oklch(64.6% 0.207 308.6);
Tailwind
colors: {
  custom: {
    50: '#cd92f3',
    500: '#b261ec',
    950: '#000000',
  },
}
SCSS
$custom: #b261ec;
$custom-light: #cd92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b261ec",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 274.964,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64625,
    "c": 0.2074,
    "h": 308.6
  },
  "luminance": 0.2407
}

Semantic roles & 50–950 ramp

primary
#B261EC
secondary
#D1ECBD
accent
#DB0B62
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B261EC

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

Preview Lab → · Contrast checker → · Palette generator →

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