#B266E7#B266E7

#B266E7 is a light, vivid violet. Relative luminance 0.247; OKLCH L 65.0% C 0.195 H 309.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B266E7
RGBrgb(178, 102, 231)
HSLhsl(275, 73%, 65%)
HSVhsv(275, 56%, 91%)
CMYKcmyk(22.9%, 55.8%, 0%, 9.4%)
CIE-LABlab(56.82, 52.95, -53.70)
CIE-LCHlch(56.82, 75.41, 314.60°)
OKLaboklab(65.02% 0.123 -0.1509)
OKLCHoklch(65.02% 0.195 309.2)
XYZxyz(37.5325, 24.7379, 78.3835)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266E7 #9BE766
analogous
#7266E7 #B266E7 #E766DB
triadic
#B266E7 #E7B266 #66E7B2
tetradic
#B266E7 #E77266 #9BE766 #66DBE7
square
#B266E7 #E77266 #9BE766 #66DBE7
split-complementary
#B266E7 #DBE766 #66E772
monochromatic
#771DB6 #9731DF #B266E7 #CD9BEF #E7D0F8

Accessibility & contrast

On white

3.53
#B266E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B266E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266E7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266E7#FFFFFF#000000##000000
##B266E71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EB
Deuteranopia (green-blind)
#5789E4
Tritanopia (blue-blind)
#AB7D9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b266e7;
/* rgb */ color: rgb(178, 102, 231);
/* oklch */ color: oklch(65.0% 0.195 309.2);
Tailwind
colors: {
  custom: {
    50: '#cc95ef',
    500: '#b266e7',
    950: '#000000',
  },
}
SCSS
$custom: #b266e7;
$custom-light: #cc95ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b266e7",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 275.349,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65016,
    "c": 0.19469,
    "h": 309.2
  },
  "luminance": 0.24737
}

Semantic roles & 50–950 ramp

primary
#B266E7
secondary
#D1EABF
accent
#D51161
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B266E7

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

Preview Lab → · Contrast checker → · Palette generator →

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