#B261F1#B261F1

#B261F1 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.9% C 0.213 H 307.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B261F1
RGBrgb(178, 97, 241)
HSLhsl(274, 84%, 66%)
HSVhsv(274, 60%, 95%)
CMYKcmyk(26.1%, 59.8%, 0%, 5.5%)
CIE-LABlab(56.45, 57.69, -59.87)
CIE-LCHlch(56.45, 83.14, 313.94°)
OKLaboklab(64.93% 0.1293 -0.1689)
OKLCHoklch(64.93% 0.213 307.4)
XYZxyz(38.5087, 24.3657, 85.8764)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261F1 #A0F161
analogous
#6A61F1 #B261F1 #F161E8
triadic
#B261F1 #F1B261 #61F1B2
tetradic
#B261F1 #F16A61 #A0F161 #61E8F1
square
#B261F1 #F16A61 #A0F161 #61E8F1
split-complementary
#B261F1 #E8F161 #61F16A
monochromatic
#7712C6 #9729EC #B261F1 #CD99F6 #E9D1FB

Accessibility & contrast

On white

3.58
#B261F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#B261F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261F1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261F1#FFFFFF#000000##000000
##B261F11.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F84F6
Deuteranopia (green-blind)
#4988EE
Tritanopia (blue-blind)
#A87DA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b261f1;
/* rgb */ color: rgb(178, 97, 241);
/* oklch */ color: oklch(64.9% 0.213 307.4);
Tailwind
colors: {
  custom: {
    50: '#cd92f6',
    500: '#b261f1',
    950: '#000000',
  },
}
SCSS
$custom: #b261f1;
$custom-light: #cd92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b261f1",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 241
  },
  "hsl": {
    "h": 273.75,
    "s": 83.721,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64933,
    "c": 0.21273,
    "h": 307.4
  },
  "luminance": 0.24365
}

Semantic roles & 50–950 ramp

primary
#B261F1
secondary
#D4EEBF
accent
#E00565
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B261F1

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

Preview Lab → · Contrast checker → · Palette generator →

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