#B264F2#B264F2

#B264F2 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.4% C 0.210 H 306.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B264F2
RGBrgb(178, 100, 242)
HSLhsl(273, 85%, 67%)
HSVhsv(273, 59%, 95%)
CMYKcmyk(26.4%, 58.7%, 0%, 5.1%)
CIE-LABlab(57.07, 56.42, -59.44)
CIE-LCHlch(57.07, 81.95, 313.51°)
OKLaboklab(65.4% 0.1257 -0.1677)
OKLCHoklch(65.4% 0.21 306.8)
XYZxyz(38.9409, 24.9905, 86.7594)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264F2 #A4F264
analogous
#6B64F2 #B264F2 #F264EB
triadic
#B264F2 #F2B264 #64F2B2
tetradic
#B264F2 #F26B64 #A4F264 #64EBF2
square
#B264F2 #F26B64 #A4F264 #64EBF2
split-complementary
#B264F2 #EBF264 #64F26B
monochromatic
#7711CB #962CED #B264F2 #CE9CF7 #EAD5FB

Accessibility & contrast

On white

3.50
#B264F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B264F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264F2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264F2#FFFFFF#000000##000000
##B264F21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F7
Deuteranopia (green-blind)
#4B8AEF
Tritanopia (blue-blind)
#A880A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b264f2;
/* rgb */ color: rgb(178, 100, 242);
/* oklch */ color: oklch(65.4% 0.210 306.8);
Tailwind
colors: {
  custom: {
    50: '#cd93f7',
    500: '#b264f2',
    950: '#000000',
  },
}
SCSS
$custom: #b264f2;
$custom-light: #cd93f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b264f2",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 272.958,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65399,
    "c": 0.20957,
    "h": 306.8
  },
  "luminance": 0.2499
}

Semantic roles & 50–950 ramp

primary
#B264F2
secondary
#D7EFC2
accent
#E10568
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B264F2

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

Preview Lab → · Contrast checker → · Palette generator →

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