#B266E5#B266E5

#B266E5 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.9% C 0.193 H 309.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B266E5
RGBrgb(178, 102, 229)
HSLhsl(276, 71%, 65%)
HSVhsv(276, 55%, 90%)
CMYKcmyk(22.3%, 55.5%, 0%, 10.2%)
CIE-LABlab(56.71, 52.51, -52.75)
CIE-LCHlch(56.71, 74.43, 314.87°)
OKLaboklab(64.9% 0.123 -0.1481)
OKLCHoklch(64.9% 0.193 309.7)
XYZxyz(37.2516, 24.6255, 76.9043)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266E5 #99E566
analogous
#7366E5 #B266E5 #E566D8
triadic
#B266E5 #E5B266 #66E5B2
tetradic
#B266E5 #E57366 #99E566 #66D8E5
square
#B266E5 #E57366 #99E566 #66D8E5
split-complementary
#B266E5 #D8E566 #66E573
monochromatic
#771EB2 #9832DC #B266E5 #CC9AEE #E7CFF7

Accessibility & contrast

On white

3.54
#B266E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B266E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266E5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266E5#FFFFFF#000000##000000
##B266E51.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85E9
Deuteranopia (green-blind)
#5989E2
Tritanopia (blue-blind)
#AB7D9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b266e5;
/* rgb */ color: rgb(178, 102, 229);
/* oklch */ color: oklch(64.9% 0.193 309.7);
Tailwind
colors: {
  custom: {
    50: '#cc94ee',
    500: '#b266e5',
    950: '#000000',
  },
}
SCSS
$custom: #b266e5;
$custom-light: #cc94ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b266e5",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 275.906,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.649,
    "c": 0.19251,
    "h": 309.7
  },
  "luminance": 0.24625
}

Semantic roles & 50–950 ramp

primary
#B266E5
secondary
#CFE9BE
accent
#D31360
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B266E5

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

Preview Lab → · Contrast checker → · Palette generator →

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