#B266F0#B266F0

#B266F0 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.6% C 0.205 H 307.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B266F0
RGBrgb(178, 102, 240)
HSLhsl(273, 82%, 67%)
HSVhsv(273, 58%, 94%)
CMYKcmyk(25.8%, 57.5%, 0%, 5.9%)
CIE-LABlab(57.33, 54.96, -57.91)
CIE-LCHlch(57.33, 79.84, 313.50°)
OKLaboklab(65.55% 0.1232 -0.1632)
OKLCHoklch(65.55% 0.205 307.1)
XYZxyz(38.8364, 25.2594, 85.2508)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266F0 #A4F066
analogous
#6D66F0 #B266F0 #F066E9
triadic
#B266F0 #F0B266 #66F0B2
tetradic
#B266F0 #F06D66 #A4F066 #66E9F0
square
#B266F0 #F06D66 #A4F066 #66E9F0
split-complementary
#B266F0 #E9F066 #66F06D
monochromatic
#7714C8 #962EEB #B266F0 #CE9EF5 #EAD5FB

Accessibility & contrast

On white

3.47
#B266F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#B266F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266F0
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266F0#FFFFFF#000000##000000
##B266F01.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3087F4
Deuteranopia (green-blind)
#508AED
Tritanopia (blue-blind)
#A880A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b266f0;
/* rgb */ color: rgb(178, 102, 240);
/* oklch */ color: oklch(65.6% 0.205 307.1);
Tailwind
colors: {
  custom: {
    50: '#cc95f6',
    500: '#b266f0',
    950: '#000000',
  },
}
SCSS
$custom: #b266f0;
$custom-light: #cc95f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b266f0",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 273.043,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65552,
    "c": 0.20453,
    "h": 307.1
  },
  "luminance": 0.25259
}

Semantic roles & 50–950 ramp

primary
#B266F0
secondary
#D7EFC3
accent
#DF0768
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #B266F0

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

Preview Lab → · Contrast checker → · Palette generator →

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