#B264F6#B264F6

#B264F6 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.6% C 0.214 H 306.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B264F6
RGBrgb(178, 100, 246)
HSLhsl(272, 89%, 68%)
HSVhsv(272, 59%, 96%)
CMYKcmyk(27.6%, 59.3%, 0%, 3.5%)
CIE-LABlab(57.30, 57.32, -61.28)
CIE-LCHlch(57.30, 83.91, 313.09°)
OKLaboklab(65.65% 0.1256 -0.1731)
OKLCHoklch(65.65% 0.214 306)
XYZxyz(39.5483, 25.2335, 89.9580)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264F6 #A8F664
analogous
#6964F6 #B264F6 #F664F1
triadic
#B264F6 #F6B264 #64F6B2
tetradic
#B264F6 #F66964 #A8F664 #64F1F6
square
#B264F6 #F66964 #A8F664 #64F1F6
split-complementary
#B264F6 #F1F664 #64F669
monochromatic
#770CD3 #952AF3 #B264F6 #CF9EF9 #EBD8FD

Accessibility & contrast

On white

3.47
#B264F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#B264F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264F6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264F6#FFFFFF#000000##000000
##B264F61.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E87FB
Deuteranopia (green-blind)
#478AF3
Tritanopia (blue-blind)
#A781A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b264f6;
/* rgb */ color: rgb(178, 100, 246);
/* oklch */ color: oklch(65.6% 0.214 306.0);
Tailwind
colors: {
  custom: {
    50: '#cd94fa',
    500: '#b264f6',
    950: '#000000',
  },
}
SCSS
$custom: #b264f6;
$custom-light: #cd94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b264f6",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 272.055,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65647,
    "c": 0.21389,
    "h": 306
  },
  "luminance": 0.25233
}

Semantic roles & 50–950 ramp

primary
#B264F6
secondary
#D9F1C4
accent
#E6006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B264F6

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

Preview Lab → · Contrast checker → · Palette generator →

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