#B264EA#B264EA

#B264EA is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.9% C 0.201 H 308.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B264EA
RGBrgb(178, 100, 234)
HSLhsl(275, 76%, 65%)
HSVhsv(275, 57%, 92%)
CMYKcmyk(23.9%, 57.3%, 0%, 8.2%)
CIE-LABlab(56.61, 54.63, -55.72)
CIE-LCHlch(56.61, 78.03, 314.44°)
OKLaboklab(64.91% 0.1256 -0.1568)
OKLCHoklch(64.91% 0.201 308.7)
XYZxyz(37.7656, 24.5204, 80.5694)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264EA #9CEA64
analogous
#6F64EA #B264EA #EA64DF
triadic
#B264EA #EAB264 #64EAB2
tetradic
#B264EA #EA6F64 #9CEA64 #64DFEA
square
#B264EA #EA6F64 #9CEA64 #64DFEA
split-complementary
#B264EA #DFEA64 #64EA6F
monochromatic
#7719BA #972EE3 #B264EA #CD9AF1 #E8D0F9

Accessibility & contrast

On white

3.56
#B264EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B264EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264EA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264EA#FFFFFF#000000##000000
##B264EA1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EE
Deuteranopia (green-blind)
#5389E7
Tritanopia (blue-blind)
#AA7D9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b264ea;
/* rgb */ color: rgb(178, 100, 234);
/* oklch */ color: oklch(64.9% 0.201 308.7);
Tailwind
colors: {
  custom: {
    50: '#cc93f1',
    500: '#b264ea',
    950: '#000000',
  },
}
SCSS
$custom: #b264ea;
$custom-light: #cc93f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b264ea",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 274.925,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64914,
    "c": 0.20091,
    "h": 308.7
  },
  "luminance": 0.2452
}

Semantic roles & 50–950 ramp

primary
#B264EA
secondary
#D1EBBE
accent
#D80D62
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B264EA

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

Preview Lab → · Contrast checker → · Palette generator →

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