#B261FC#B261FC

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

Color values

HEX#B261FC
RGBrgb(178, 97, 252)
HSLhsl(271, 96%, 68%)
HSVhsv(271, 62%, 99%)
CMYKcmyk(29.4%, 61.5%, 0%, 1.2%)
CIE-LABlab(57.12, 60.16, -64.91)
CIE-LCHlch(57.12, 88.50, 312.83°)
OKLaboklab(65.63% 0.1289 -0.1837)
OKLCHoklch(65.63% 0.224 305.1)
XYZxyz(40.2016, 25.0429, 94.7925)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261FC #ABFC61
analogous
#6461FC #B261FC #FC61F8
triadic
#B261FC #FCB261 #61FCB2
tetradic
#B261FC #FC6461 #ABFC61 #61F8FC
square
#B261FC #FC6461 #ABFC61 #61F8FC
split-complementary
#B261FC #F8FC61 #61FC64
monochromatic
#7604DE #9525FB #B261FC #CF9DFD #EDD9FE

Accessibility & contrast

On white

3.49
#B261FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#B261FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261FC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261FC#FFFFFF#000000##000000
##B261FC1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b261fc;
/* rgb */ color: rgb(178, 97, 252);
/* oklch */ color: oklch(65.6% 0.224 305.1);
Tailwind
colors: {
  custom: {
    50: '#cd92fe',
    500: '#b261fc',
    950: '#000000',
  },
}
SCSS
$custom: #b261fc;
$custom-light: #cd92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b261fc",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 252
  },
  "hsl": {
    "h": 271.355,
    "s": 96.273,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65629,
    "c": 0.22445,
    "h": 305.1
  },
  "luminance": 0.25043
}

Semantic roles & 50–950 ramp

primary
#B261FC
secondary
#DBF4C5
accent
#E6006E
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B261FC

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

Preview Lab → · Contrast checker → · Palette generator →

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