#B266EE#B266EE

#B266EE is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.4% C 0.202 H 307.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B266EE
RGBrgb(178, 102, 238)
HSLhsl(274, 80%, 67%)
HSVhsv(274, 57%, 93%)
CMYKcmyk(25.2%, 57.1%, 0%, 6.7%)
CIE-LABlab(57.21, 54.51, -56.98)
CIE-LCHlch(57.21, 78.85, 313.73°)
OKLaboklab(65.43% 0.1232 -0.1605)
OKLCHoklch(65.43% 0.202 307.5)
XYZxyz(38.5409, 25.1412, 83.6947)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266EE #A2EE66
analogous
#6E66EE #B266EE #EE66E6
triadic
#B266EE #EEB266 #66EEB2
tetradic
#B266EE #EE6E66 #A2EE66 #66E6EE
square
#B266EE #EE6E66 #A2EE66 #66E6EE
split-complementary
#B266EE #E6EE66 #66EE6E
monochromatic
#7716C4 #962FE8 #B266EE #CE9DF4 #E9D4FA

Accessibility & contrast

On white

3.48
#B266EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B266EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266EE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266EE#FFFFFF#000000##000000
##B266EE1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3286F2
Deuteranopia (green-blind)
#518AEB
Tritanopia (blue-blind)
#A980A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b266ee;
/* rgb */ color: rgb(178, 102, 238);
/* oklch */ color: oklch(65.4% 0.202 307.5);
Tailwind
colors: {
  custom: {
    50: '#cc95f4',
    500: '#b266ee',
    950: '#000000',
  },
}
SCSS
$custom: #b266ee;
$custom-light: #cc95f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b266ee",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 273.529,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65432,
    "c": 0.20234,
    "h": 307.5
  },
  "luminance": 0.25141
}

Semantic roles & 50–950 ramp

primary
#B266EE
secondary
#D5EEC2
accent
#DC0966
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #B266EE

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

Preview Lab → · Contrast checker → · Palette generator →

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