#B264E2#B264E2

#B264E2 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.4% C 0.192 H 310.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B264E2
RGBrgb(178, 100, 226)
HSLhsl(277, 68%, 64%)
HSVhsv(277, 56%, 89%)
CMYKcmyk(21.2%, 55.8%, 0%, 11.4%)
CIE-LABlab(56.16, 52.87, -51.94)
CIE-LCHlch(56.16, 74.12, 315.51°)
OKLaboklab(64.44% 0.1254 -0.1458)
OKLCHoklch(64.44% 0.192 310.7)
XYZxyz(36.6422, 24.0710, 74.6527)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264E2 #94E264
analogous
#7364E2 #B264E2 #E264D3
triadic
#B264E2 #E2B264 #64E2B2
tetradic
#B264E2 #E27364 #94E264 #64D3E2
square
#B264E2 #E27364 #94E264 #64D3E2
split-complementary
#B264E2 #D3E264 #64E273
monochromatic
#7620AC #9830D8 #B264E2 #CC98EC #E5CBF5

Accessibility & contrast

On white

3.61
#B264E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B264E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264E2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264E2#FFFFFF#000000##000000
##B264E21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D83E6
Deuteranopia (green-blind)
#5988DF
Tritanopia (blue-blind)
#AC7A9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b264e2;
/* rgb */ color: rgb(178, 100, 226);
/* oklch */ color: oklch(64.4% 0.192 310.7);
Tailwind
colors: {
  custom: {
    50: '#cc93ec',
    500: '#b264e2',
    950: '#000000',
  },
}
SCSS
$custom: #b264e2;
$custom-light: #cc93ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b264e2",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 277.143,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64443,
    "c": 0.19227,
    "h": 310.7
  },
  "luminance": 0.2407
}

Semantic roles & 50–950 ramp

primary
#B264E2
secondary
#CCE7BB
accent
#D0155C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B264E2

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

Preview Lab → · Contrast checker → · Palette generator →

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