#B264F4#B264F4

#B264F4 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.5% C 0.212 H 306.4°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B264F4
RGBrgb(178, 100, 244)
HSLhsl(273, 87%, 67%)
HSVhsv(273, 59%, 96%)
CMYKcmyk(27%, 59%, 0%, 4.3%)
CIE-LABlab(57.18, 56.87, -60.36)
CIE-LCHlch(57.18, 82.93, 313.29°)
OKLaboklab(65.52% 0.1257 -0.1704)
OKLCHoklch(65.52% 0.212 306.4)
XYZxyz(39.2430, 25.1113, 88.3500)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264F4 #A6F464
analogous
#6A64F4 #B264F4 #F464EE
triadic
#B264F4 #F4B264 #64F4B2
tetradic
#B264F4 #F46A64 #A6F464 #64EEF4
square
#B264F4 #F46A64 #A6F464 #64EEF4
split-complementary
#B264F4 #EEF464 #64F46A
monochromatic
#770FCF #962BF0 #B264F4 #CE9DF8 #EBD6FC

Accessibility & contrast

On white

3.49
#B264F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B264F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264F4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264F4#FFFFFF#000000##000000
##B264F41.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387F9
Deuteranopia (green-blind)
#498AF1
Tritanopia (blue-blind)
#A780A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b264f4;
/* rgb */ color: rgb(178, 100, 244);
/* oklch */ color: oklch(65.5% 0.212 306.4);
Tailwind
colors: {
  custom: {
    50: '#cd94f8',
    500: '#b264f4',
    950: '#000000',
  },
}
SCSS
$custom: #b264f4;
$custom-light: #cd94f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b264f4",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 244
  },
  "hsl": {
    "h": 272.5,
    "s": 86.747,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65523,
    "c": 0.21173,
    "h": 306.4
  },
  "luminance": 0.25111
}

Semantic roles & 50–950 ramp

primary
#B264F4
secondary
#D8F0C3
accent
#E30269
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B264F4

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

Preview Lab → · Contrast checker → · Palette generator →

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