#B261FF#B261FF

#B261FF is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.8% C 0.228 H 304.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B261FF
RGBrgb(178, 97, 255)
HSLhsl(271, 100%, 69%)
HSVhsv(271, 62%, 100%)
CMYKcmyk(30.2%, 62%, 0%, 0%)
CIE-LABlab(57.30, 60.85, -66.27)
CIE-LCHlch(57.30, 89.96, 312.56°)
OKLaboklab(65.82% 0.1288 -0.1877)
OKLCHoklch(65.82% 0.228 304.4)
XYZxyz(40.6808, 25.2345, 97.3160)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261FF #AEFF61
analogous
#6361FF #B261FF #FF61FD
triadic
#B261FF #FFB261 #61FFB2
tetradic
#B261FF #FF6361 #AEFF61 #61FDFF
square
#B261FF #FF6361 #AEFF61 #61FDFF
split-complementary
#B261FF #FDFF61 #61FF63
monochromatic
#7600E6 #9424FF #B261FF #D09EFF #EEDBFF

Accessibility & contrast

On white

3.47
#B261FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#B261FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261FF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261FF#FFFFFF#000000##000000
##B261FF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#378AFB
Tritanopia (blue-blind)
#A482A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b261ff;
/* rgb */ color: rgb(178, 97, 255);
/* oklch */ color: oklch(65.8% 0.228 304.4);
Tailwind
colors: {
  custom: {
    50: '#ce92ff',
    500: '#b261ff',
    950: '#000000',
  },
}
SCSS
$custom: #b261ff;
$custom-light: #ce92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b261ff",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 255
  },
  "hsl": {
    "h": 270.759,
    "s": 100,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65823,
    "c": 0.22764,
    "h": 304.4
  },
  "luminance": 0.25234
}

Semantic roles & 50–950 ramp

primary
#B261FF
secondary
#DDF5C7
accent
#E60070
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B261FF

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

Preview Lab → · Contrast checker → · Palette generator →

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