#B264F7#B264F7

#B264F7 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.7% C 0.215 H 305.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B264F7
RGBrgb(178, 100, 247)
HSLhsl(272, 90%, 68%)
HSVhsv(272, 60%, 97%)
CMYKcmyk(27.9%, 59.5%, 0%, 3.1%)
CIE-LABlab(57.36, 57.55, -61.74)
CIE-LCHlch(57.36, 84.40, 312.99°)
OKLaboklab(65.71% 0.1256 -0.1745)
OKLCHoklch(65.71% 0.215 305.8)
XYZxyz(39.7022, 25.2950, 90.7685)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264F7 #A9F764
analogous
#6864F7 #B264F7 #F764F2
triadic
#B264F7 #F7B264 #64F7B2
tetradic
#B264F7 #F76864 #A9F764 #64F2F7
square
#B264F7 #F76864 #A9F764 #64F2F7
split-complementary
#B264F7 #F2F764 #64F768
monochromatic
#770BD6 #952AF4 #B264F7 #CF9EFA #ECD8FD

Accessibility & contrast

On white

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

On black

6.06
#B264F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264F7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264F7#FFFFFF#000000##000000
##B264F71.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C87FC
Deuteranopia (green-blind)
#468AF4
Tritanopia (blue-blind)
#A681A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b264f7;
/* rgb */ color: rgb(178, 100, 247);
/* oklch */ color: oklch(65.7% 0.215 305.8);
Tailwind
colors: {
  custom: {
    50: '#cd94fb',
    500: '#b264f7',
    950: '#000000',
  },
}
SCSS
$custom: #b264f7;
$custom-light: #cd94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b264f7",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 271.837,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65709,
    "c": 0.21497,
    "h": 305.8
  },
  "luminance": 0.25295
}

Semantic roles & 50–950 ramp

primary
#B264F7
secondary
#DAF2C5
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B264F7

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

Preview Lab → · Contrast checker → · Palette generator →

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