#B266FB#B266FB

#B266FB is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.2% C 0.217 H 304.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B266FB
RGBrgb(178, 102, 251)
HSLhsl(271, 95%, 69%)
HSVhsv(271, 59%, 98%)
CMYKcmyk(29.1%, 59.4%, 0%, 1.6%)
CIE-LABlab(57.97, 57.46, -62.98)
CIE-LCHlch(57.97, 85.25, 312.38°)
OKLaboklab(66.23% 0.1232 -0.1781)
OKLCHoklch(66.23% 0.217 304.7)
XYZxyz(40.5202, 25.9330, 94.1190)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266FB #AFFB66
analogous
#6866FB #B266FB #FB66F9
triadic
#B266FB #FBB266 #66FBB2
tetradic
#B266FB #FB6866 #AFFB66 #66F9FB
square
#B266FB #FB6866 #AFFB66 #66F9FB
split-complementary
#B266FB #F9FB66 #66FB68
monochromatic
#7606E1 #942AF9 #B266FB #D0A2FD #EEDDFE

Accessibility & contrast

On white

3.39
#B266FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B266FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266FB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266FB#FFFFFF#000000##000000
##B266FB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1989FF
Deuteranopia (green-blind)
#448BF8
Tritanopia (blue-blind)
#A584A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b266fb;
/* rgb */ color: rgb(178, 102, 251);
/* oklch */ color: oklch(66.2% 0.217 304.7);
Tailwind
colors: {
  custom: {
    50: '#cd95fd',
    500: '#b266fb',
    950: '#000000',
  },
}
SCSS
$custom: #b266fb;
$custom-light: #cd95fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b266fb",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 270.604,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66231,
    "c": 0.21654,
    "h": 304.7
  },
  "luminance": 0.25933
}

Semantic roles & 50–950 ramp

primary
#B266FB
secondary
#DEF4C9
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B266FB

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

Preview Lab → · Contrast checker → · Palette generator →

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