#B264E6#B264E6

#B264E6 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.7% C 0.197 H 309.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B264E6
RGBrgb(178, 100, 230)
HSLhsl(276, 72%, 65%)
HSVhsv(276, 57%, 90%)
CMYKcmyk(22.6%, 56.5%, 0%, 9.8%)
CIE-LABlab(56.38, 53.75, -53.84)
CIE-LCHlch(56.38, 76.07, 314.95°)
OKLaboklab(64.68% 0.1255 -0.1513)
OKLCHoklch(64.68% 0.197 309.7)
XYZxyz(37.1975, 24.2931, 77.5771)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264E6 #98E664
analogous
#7164E6 #B264E6 #E664D9
triadic
#B264E6 #E6B264 #64E6B2
tetradic
#B264E6 #E67164 #98E664 #64D9E6
square
#B264E6 #E67164 #98E664 #64D9E6
split-complementary
#B264E6 #D9E664 #64E671
monochromatic
#771DB3 #982FDD #B264E6 #CC99EE #E6CDF7

Accessibility & contrast

On white

3.58
#B264E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#B264E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264E6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264E6#FFFFFF#000000##000000
##B264E61.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EA
Deuteranopia (green-blind)
#5688E3
Tritanopia (blue-blind)
#AB7C9C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b264e6;
/* rgb */ color: rgb(178, 100, 230);
/* oklch */ color: oklch(64.7% 0.197 309.7);
Tailwind
colors: {
  custom: {
    50: '#cc93ee',
    500: '#b264e6',
    950: '#000000',
  },
}
SCSS
$custom: #b264e6;
$custom-light: #cc93ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b264e6",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 276,
    "s": 72.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64677,
    "c": 0.19659,
    "h": 309.7
  },
  "luminance": 0.24292
}

Semantic roles & 50–950 ramp

primary
#B264E6
secondary
#CEE9BD
accent
#D4115F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B264E6

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

Preview Lab → · Contrast checker → · Palette generator →

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