#B264E8#B264E8

#B264E8 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.8% C 0.199 H 309.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B264E8
RGBrgb(178, 100, 232)
HSLhsl(275, 74%, 65%)
HSVhsv(275, 57%, 91%)
CMYKcmyk(23.3%, 56.9%, 0%, 9%)
CIE-LABlab(56.49, 54.19, -54.78)
CIE-LCHlch(56.49, 77.05, 314.69°)
OKLaboklab(64.8% 0.1256 -0.154)
OKLCHoklch(64.8% 0.199 309.2)
XYZxyz(37.4799, 24.4061, 79.0647)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264E8 #9AE864
analogous
#7064E8 #B264E8 #E864DC
triadic
#B264E8 #E8B264 #64E8B2
tetradic
#B264E8 #E87064 #9AE864 #64DCE8
square
#B264E8 #E87064 #9AE864 #64DCE8
split-complementary
#B264E8 #DCE864 #64E870
monochromatic
#771BB7 #982FE0 #B264E8 #CC99F0 #E7CFF8

Accessibility & contrast

On white

3.57
#B264E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#B264E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264E8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264E8#FFFFFF#000000##000000
##B264E81.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EC
Deuteranopia (green-blind)
#5489E5
Tritanopia (blue-blind)
#AB7C9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b264e8;
/* rgb */ color: rgb(178, 100, 232);
/* oklch */ color: oklch(64.8% 0.199 309.2);
Tailwind
colors: {
  custom: {
    50: '#cc93f0',
    500: '#b264e8',
    950: '#000000',
  },
}
SCSS
$custom: #b264e8;
$custom-light: #cc93f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b264e8",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 275.455,
    "s": 74.157,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64795,
    "c": 0.19875,
    "h": 309.2
  },
  "luminance": 0.24406
}

Semantic roles & 50–950 ramp

primary
#B264E8
secondary
#D0EABE
accent
#D60F61
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B264E8

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

Preview Lab → · Contrast checker → · Palette generator →

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