#B264E5#B264E5

#B264E5 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.6% C 0.196 H 309.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B264E5
RGBrgb(178, 100, 229)
HSLhsl(276, 71%, 65%)
HSVhsv(276, 56%, 90%)
CMYKcmyk(22.3%, 56.3%, 0%, 10.2%)
CIE-LABlab(56.32, 53.53, -53.36)
CIE-LCHlch(56.32, 75.58, 315.09°)
OKLaboklab(64.62% 0.1255 -0.1499)
OKLCHoklch(64.62% 0.196 309.9)
XYZxyz(37.0574, 24.2371, 76.8396)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264E5 #97E564
analogous
#7264E5 #B264E5 #E564D8
triadic
#B264E5 #E5B264 #64E5B2
tetradic
#B264E5 #E57264 #97E564 #64D8E5
square
#B264E5 #E57264 #97E564 #64D8E5
split-complementary
#B264E5 #D8E564 #64E572
monochromatic
#771EB1 #9830DC #B264E5 #CC98EE #E6CDF7

Accessibility & contrast

On white

3.59
#B264E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B264E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264E5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264E5#FFFFFF#000000##000000
##B264E51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3984E9
Deuteranopia (green-blind)
#5788E2
Tritanopia (blue-blind)
#AB7B9B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b264e5;
/* rgb */ color: rgb(178, 100, 229);
/* oklch */ color: oklch(64.6% 0.196 309.9);
Tailwind
colors: {
  custom: {
    50: '#cc93ee',
    500: '#b264e5',
    950: '#000000',
  },
}
SCSS
$custom: #b264e5;
$custom-light: #cc93ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b264e5",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 276.279,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64618,
    "c": 0.19551,
    "h": 309.9
  },
  "luminance": 0.24236
}

Semantic roles & 50–950 ramp

primary
#B264E5
secondary
#CEE9BC
accent
#D3125F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B264E5

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

Preview Lab → · Contrast checker → · Palette generator →

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