#B266F5#B266F5

#B266F5 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.9% C 0.210 H 305.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B266F5
RGBrgb(178, 102, 245)
HSLhsl(272, 88%, 68%)
HSVhsv(272, 58%, 96%)
CMYKcmyk(27.3%, 58.4%, 0%, 3.9%)
CIE-LABlab(57.62, 56.09, -60.22)
CIE-LCHlch(57.62, 82.30, 312.96°)
OKLaboklab(65.86% 0.1233 -0.17)
OKLCHoklch(65.86% 0.21 305.9)
XYZxyz(39.5894, 25.5606, 89.2166)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266F5 #A9F566
analogous
#6A66F5 #B266F5 #F566F1
triadic
#B266F5 #F5B266 #66F5B2
tetradic
#B266F5 #F56A66 #A9F566 #66F1F5
square
#B266F5 #F56A66 #A9F566 #66F1F5
split-complementary
#B266F5 #F1F566 #66F56A
monochromatic
#760ED3 #952DF1 #B266F5 #CF9FF9 #ECD9FD

Accessibility & contrast

On white

3.44
#B266F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B266F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266F5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266F5#FFFFFF#000000##000000
##B266F51.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2788FA
Deuteranopia (green-blind)
#4B8BF2
Tritanopia (blue-blind)
#A782A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b266f5;
/* rgb */ color: rgb(178, 102, 245);
/* oklch */ color: oklch(65.9% 0.210 305.9);
Tailwind
colors: {
  custom: {
    50: '#cd95f9',
    500: '#b266f5',
    950: '#000000',
  },
}
SCSS
$custom: #b266f5;
$custom-light: #cd95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b266f5",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 271.888,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65858,
    "c": 0.20999,
    "h": 305.9
  },
  "luminance": 0.2556
}

Semantic roles & 50–950 ramp

primary
#B266F5
secondary
#DAF1C6
accent
#E4016C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B266F5

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

Preview Lab → · Contrast checker → · Palette generator →

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