#B264FF#B264FF

#B264FF is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.2% C 0.224 H 304.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B264FF
RGBrgb(178, 100, 255)
HSLhsl(270, 100%, 70%)
HSVhsv(270, 61%, 100%)
CMYKcmyk(30.2%, 60.8%, 0%, 0%)
CIE-LABlab(57.85, 59.38, -65.39)
CIE-LCHlch(57.85, 88.33, 312.24°)
OKLaboklab(66.22% 0.1254 -0.1852)
OKLCHoklch(66.22% 0.224 304.1)
XYZxyz(40.9632, 25.7995, 97.4101)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264FF #B1FF64
analogous
#6564FF #B264FF #FF64FE
triadic
#B264FF #FFB264 #64FFB2
tetradic
#B264FF #FF6564 #B1FF64 #64FEFF
square
#B264FF #FF6564 #B1FF64 #64FEFF
split-complementary
#B264FF #FEFF64 #64FF65
monochromatic
#7500E9 #9427FF #B264FF #D0A1FF #EFDEFF

Accessibility & contrast

On white

3.41
#B264FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B264FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264FF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264FF#FFFFFF#000000##000000
##B264FF1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#3C8BFC
Tritanopia (blue-blind)
#A484A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b264ff;
/* rgb */ color: rgb(178, 100, 255);
/* oklch */ color: oklch(66.2% 0.224 304.1);
Tailwind
colors: {
  custom: {
    50: '#cd94ff',
    500: '#b264ff',
    950: '#000000',
  },
}
SCSS
$custom: #b264ff;
$custom-light: #cd94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b264ff",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 255
  },
  "hsl": {
    "h": 270.194,
    "s": 100,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66216,
    "c": 0.22362,
    "h": 304.1
  },
  "luminance": 0.25799
}

Semantic roles & 50–950 ramp

primary
#B264FF
secondary
#DFF6C9
accent
#E60072
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B264FF

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

Preview Lab → · Contrast checker → · Palette generator →

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