#B264EB#B264EB

#B264EB is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.0% C 0.202 H 308.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B264EB
RGBrgb(178, 100, 235)
HSLhsl(275, 77%, 66%)
HSVhsv(275, 57%, 92%)
CMYKcmyk(24.3%, 57.4%, 0%, 7.8%)
CIE-LABlab(56.66, 54.85, -56.18)
CIE-LCHlch(56.66, 78.52, 314.31°)
OKLaboklab(64.97% 0.1256 -0.1582)
OKLCHoklch(64.97% 0.202 308.5)
XYZxyz(37.9097, 24.5780, 81.3281)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264EB #9DEB64
analogous
#6E64EB #B264EB #EB64E0
triadic
#B264EB #EBB264 #64EBB2
tetradic
#B264EB #EB6E64 #9DEB64 #64E0EB
square
#B264EB #EB6E64 #9DEB64 #64E0EB
split-complementary
#B264EB #E0EB64 #64EB6E
monochromatic
#7718BC #972EE4 #B264EB #CD9AF2 #E8D0F9

Accessibility & contrast

On white

3.55
#B264EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#B264EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264EB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264EB#FFFFFF#000000##000000
##B264EB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#AA7D9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b264eb;
/* rgb */ color: rgb(178, 100, 235);
/* oklch */ color: oklch(65.0% 0.202 308.5);
Tailwind
colors: {
  custom: {
    50: '#cc93f2',
    500: '#b264eb',
    950: '#000000',
  },
}
SCSS
$custom: #b264eb;
$custom-light: #cc93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b264eb",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 274.667,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64974,
    "c": 0.20199,
    "h": 308.5
  },
  "luminance": 0.24577
}

Semantic roles & 50–950 ramp

primary
#B264EB
secondary
#D2ECBF
accent
#D90C63
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B264EB

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

Preview Lab → · Contrast checker → · Palette generator →

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