#B266F9#B266F9

#B266F9 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.1% C 0.214 H 305.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B266F9
RGBrgb(178, 102, 249)
HSLhsl(271, 92%, 69%)
HSVhsv(271, 59%, 98%)
CMYKcmyk(28.5%, 59%, 0%, 2.4%)
CIE-LABlab(57.85, 57.00, -62.06)
CIE-LCHlch(57.85, 84.27, 312.57°)
OKLaboklab(66.11% 0.1232 -0.1754)
OKLCHoklch(66.11% 0.214 305.1)
XYZxyz(40.2066, 25.8075, 92.4674)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266F9 #ADF966
analogous
#6966F9 #B266F9 #F966F7
triadic
#B266F9 #F9B266 #66F9B2
tetradic
#B266F9 #F96966 #ADF966 #66F7F9
square
#B266F9 #F96966 #ADF966 #66F7F9
split-complementary
#B266F9 #F7F966 #66F969
monochromatic
#7609DC #942BF7 #B266F9 #D0A1FB #EDDCFE

Accessibility & contrast

On white

3.41
#B266F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B266F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266F9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266F9#FFFFFF#000000##000000
##B266F91.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F89FE
Deuteranopia (green-blind)
#468BF6
Tritanopia (blue-blind)
#A683A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b266f9;
/* rgb */ color: rgb(178, 102, 249);
/* oklch */ color: oklch(66.1% 0.214 305.1);
Tailwind
colors: {
  custom: {
    50: '#cd95fc',
    500: '#b266f9',
    950: '#000000',
  },
}
SCSS
$custom: #b266f9;
$custom-light: #cd95fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b266f9",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 271.02,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66106,
    "c": 0.21436,
    "h": 305.1
  },
  "luminance": 0.25807
}

Semantic roles & 50–950 ramp

primary
#B266F9
secondary
#DDF3C8
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B266F9

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

Preview Lab → · Contrast checker → · Palette generator →

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