#B266F8#B266F8

#B266F8 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.0% C 0.213 H 305.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B266F8
RGBrgb(178, 102, 248)
HSLhsl(271, 91%, 69%)
HSVhsv(271, 59%, 97%)
CMYKcmyk(28.2%, 58.9%, 0%, 2.7%)
CIE-LABlab(57.79, 56.77, -61.60)
CIE-LCHlch(57.79, 83.78, 312.66°)
OKLaboklab(66.04% 0.1232 -0.1741)
OKLCHoklch(66.04% 0.213 305.3)
XYZxyz(40.0511, 25.7453, 91.6481)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266F8 #ACF866
analogous
#6966F8 #B266F8 #F866F5
triadic
#B266F8 #F8B266 #66F8B2
tetradic
#B266F8 #F86966 #ACF866 #66F5F8
square
#B266F8 #F86966 #ACF866 #66F5F8
split-complementary
#B266F8 #F5F866 #66F869
monochromatic
#760ADA #952BF5 #B266F8 #CFA1FB #EDDBFD

Accessibility & contrast

On white

3.42
#B266F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#B266F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266F8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266F8#FFFFFF#000000##000000
##B266F81.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2189FD
Deuteranopia (green-blind)
#478BF5
Tritanopia (blue-blind)
#A683A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b266f8;
/* rgb */ color: rgb(178, 102, 248);
/* oklch */ color: oklch(66.0% 0.213 305.3);
Tailwind
colors: {
  custom: {
    50: '#cd95fb',
    500: '#b266f8',
    950: '#000000',
  },
}
SCSS
$custom: #b266f8;
$custom-light: #cd95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b266f8",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 271.233,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66044,
    "c": 0.21327,
    "h": 305.3
  },
  "luminance": 0.25745
}

Semantic roles & 50–950 ramp

primary
#B266F8
secondary
#DCF3C7
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B266F8

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

Preview Lab → · Contrast checker → · Palette generator →

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