#B261F3#B261F3

#B261F3 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.1% C 0.215 H 307.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B261F3
RGBrgb(178, 97, 243)
HSLhsl(273, 86%, 67%)
HSVhsv(273, 60%, 95%)
CMYKcmyk(26.7%, 60.1%, 0%, 4.7%)
CIE-LABlab(56.57, 58.13, -60.79)
CIE-LCHlch(56.57, 84.11, 313.72°)
OKLaboklab(65.06% 0.1292 -0.1717)
OKLCHoklch(65.06% 0.215 307)
XYZxyz(38.8091, 24.4859, 87.4584)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261F3 #A2F361
analogous
#6961F3 #B261F3 #F361EB
triadic
#B261F3 #F3B261 #61F3B2
tetradic
#B261F3 #F36961 #A2F361 #61EBF3
square
#B261F3 #F36961 #A2F361 #61EBF3
split-complementary
#B261F3 #EBF361 #61F369
monochromatic
#770FCA #9628EF #B261F3 #CE9AF7 #E9D3FC

Accessibility & contrast

On white

3.56
#B261F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B261F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261F3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261F3#FFFFFF#000000##000000
##B261F31.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1985F8
Deuteranopia (green-blind)
#4688F0
Tritanopia (blue-blind)
#A87EA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b261f3;
/* rgb */ color: rgb(178, 97, 243);
/* oklch */ color: oklch(65.1% 0.215 307.0);
Tailwind
colors: {
  custom: {
    50: '#cd92f8',
    500: '#b261f3',
    950: '#000000',
  },
}
SCSS
$custom: #b261f3;
$custom-light: #cd92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b261f3",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 243
  },
  "hsl": {
    "h": 273.288,
    "s": 85.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65058,
    "c": 0.21486,
    "h": 307
  },
  "luminance": 0.24485
}

Semantic roles & 50–950 ramp

primary
#B261F3
secondary
#D5EFC0
accent
#E20367
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B261F3

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

Preview Lab → · Contrast checker → · Palette generator →

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