#B266FC#B266FC

#B266FC is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.3% C 0.218 H 304.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B266FC
RGBrgb(178, 102, 252)
HSLhsl(270, 96%, 69%)
HSVhsv(270, 60%, 99%)
CMYKcmyk(29.4%, 59.5%, 0%, 1.2%)
CIE-LABlab(58.03, 57.69, -63.43)
CIE-LCHlch(58.03, 85.74, 312.29°)
OKLaboklab(66.29% 0.1232 -0.1794)
OKLCHoklch(66.29% 0.218 304.5)
XYZxyz(40.6783, 25.9962, 94.9513)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266FC #B0FC66
analogous
#6766FC #B266FC #FC66FB
triadic
#B266FC #FCB266 #66FCB2
tetradic
#B266FC #FC6766 #B0FC66 #66FBFC
square
#B266FC #FC6766 #B0FC66 #66FBFC
split-complementary
#B266FC #FBFC66 #66FC67
monochromatic
#7504E3 #942AFB #B266FC #D0A2FD #EEDEFE

Accessibility & contrast

On white

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

On black

6.20
#B266FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266FC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266FC#FFFFFF#000000##000000
##B266FC1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1689FF
Deuteranopia (green-blind)
#438BF9
Tritanopia (blue-blind)
#A584A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b266fc;
/* rgb */ color: rgb(178, 102, 252);
/* oklch */ color: oklch(66.3% 0.218 304.5);
Tailwind
colors: {
  custom: {
    50: '#cd95fe',
    500: '#b266fc',
    950: '#000000',
  },
}
SCSS
$custom: #b266fc;
$custom-light: #cd95fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b266fc",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 270.4,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66294,
    "c": 0.21763,
    "h": 304.5
  },
  "luminance": 0.25996
}

Semantic roles & 50–950 ramp

primary
#B266FC
secondary
#DFF5C9
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B266FC

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

Preview Lab → · Contrast checker → · Palette generator →

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