#B261FB#B261FB

#B261FB is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.6% C 0.223 H 305.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B261FB
RGBrgb(178, 97, 251)
HSLhsl(272, 95%, 68%)
HSVhsv(272, 61%, 98%)
CMYKcmyk(29.1%, 61.4%, 0%, 1.6%)
CIE-LABlab(57.06, 59.94, -64.45)
CIE-LCHlch(57.06, 88.01, 312.92°)
OKLaboklab(65.56% 0.129 -0.1824)
OKLCHoklch(65.56% 0.223 305.3)
XYZxyz(40.0436, 24.9797, 93.9601)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261FB #AAFB61
analogous
#6561FB #B261FB #FB61F7
triadic
#B261FB #FBB261 #61FBB2
tetradic
#B261FB #FB6561 #AAFB61 #61F7FB
square
#B261FB #FB6561 #AAFB61 #61F7FB
split-complementary
#B261FB #F7FB61 #61FB65
monochromatic
#7606DC #9525F9 #B261FB #CF9DFD #ECD8FE

Accessibility & contrast

On white

3.50
#B261FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B261FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261FB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261FB#FFFFFF#000000##000000
##B261FB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#3D89F8
Tritanopia (blue-blind)
#A581A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b261fb;
/* rgb */ color: rgb(178, 97, 251);
/* oklch */ color: oklch(65.6% 0.223 305.3);
Tailwind
colors: {
  custom: {
    50: '#cd92fd',
    500: '#b261fb',
    950: '#000000',
  },
}
SCSS
$custom: #b261fb;
$custom-light: #cd92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b261fb",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 251
  },
  "hsl": {
    "h": 271.558,
    "s": 95.062,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65564,
    "c": 0.22338,
    "h": 305.3
  },
  "luminance": 0.24979
}

Semantic roles & 50–950 ramp

primary
#B261FB
secondary
#DBF3C5
accent
#E6006D
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B261FB

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

Preview Lab → · Contrast checker → · Palette generator →

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