#B264FA#B264FA

#B264FA is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.9% C 0.218 H 305.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B264FA
RGBrgb(178, 100, 250)
HSLhsl(271, 94%, 69%)
HSVhsv(271, 60%, 98%)
CMYKcmyk(28.8%, 60%, 0%, 2%)
CIE-LABlab(57.54, 58.23, -63.12)
CIE-LCHlch(57.54, 85.88, 312.69°)
OKLaboklab(65.9% 0.1255 -0.1785)
OKLCHoklch(65.9% 0.218 305.1)
XYZxyz(40.1688, 25.4817, 93.2262)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264FA #ACFA64
analogous
#6764FA #B264FA #FA64F7
triadic
#B264FA #FAB264 #64FAB2
tetradic
#B264FA #FA6764 #ACFA64 #64F7FA
square
#B264FA #FA6764 #ACFA64 #64F7FA
split-complementary
#B264FA #F7FA64 #64FA67
monochromatic
#7607DC #9529F8 #B264FA #CF9FFC #EDDBFE

Accessibility & contrast

On white

3.44
#B264FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#B264FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264FA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264FA#FFFFFF#000000##000000
##B264FA1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1288FF
Deuteranopia (green-blind)
#428AF7
Tritanopia (blue-blind)
#A582A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b264fa;
/* rgb */ color: rgb(178, 100, 250);
/* oklch */ color: oklch(65.9% 0.218 305.1);
Tailwind
colors: {
  custom: {
    50: '#cd94fd',
    500: '#b264fa',
    950: '#000000',
  },
}
SCSS
$custom: #b264fa;
$custom-light: #cd94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b264fa",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 250
  },
  "hsl": {
    "h": 271.2,
    "s": 93.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65898,
    "c": 0.21822,
    "h": 305.1
  },
  "luminance": 0.25481
}

Semantic roles & 50–950 ramp

primary
#B264FA
secondary
#DCF3C7
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B264FA

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

Preview Lab → · Contrast checker → · Palette generator →

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