#B266ED#B266ED

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

Color values

HEX#B266ED
RGBrgb(178, 102, 237)
HSLhsl(274, 79%, 66%)
HSVhsv(274, 57%, 93%)
CMYKcmyk(24.9%, 57%, 0%, 7.1%)
CIE-LABlab(57.16, 54.29, -56.51)
CIE-LCHlch(57.16, 78.36, 313.85°)
OKLaboklab(65.37% 0.1232 -0.1591)
OKLCHoklch(65.37% 0.201 307.7)
XYZxyz(38.3944, 25.0826, 82.9231)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266ED #A1ED66
analogous
#6F66ED #B266ED #ED66E4
triadic
#B266ED #EDB266 #66EDB2
tetradic
#B266ED #ED6F66 #A1ED66 #66E4ED
square
#B266ED #ED6F66 #A1ED66 #66E4ED
split-complementary
#B266ED #E4ED66 #66ED6F
monochromatic
#7717C2 #962FE7 #B266ED #CE9DF3 #E9D4FA

Accessibility & contrast

On white

3.49
#B266ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B266ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266ED
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266ED#FFFFFF#000000##000000
##B266ED1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F1
Deuteranopia (green-blind)
#528AEA
Tritanopia (blue-blind)
#A97FA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b266ed;
/* rgb */ color: rgb(178, 102, 237);
/* oklch */ color: oklch(65.4% 0.201 307.7);
Tailwind
colors: {
  custom: {
    50: '#cc95f3',
    500: '#b266ed',
    950: '#000000',
  },
}
SCSS
$custom: #b266ed;
$custom-light: #cc95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b266ed",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 273.778,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65372,
    "c": 0.20125,
    "h": 307.7
  },
  "luminance": 0.25082
}

Semantic roles & 50–950 ramp

primary
#B266ED
secondary
#D5EDC2
accent
#DB0A66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B266ED

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

Preview Lab → · Contrast checker → · Palette generator →

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