#B264F0#B264F0

#B264F0 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.3% C 0.207 H 307.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B264F0
RGBrgb(178, 100, 240)
HSLhsl(273, 82%, 67%)
HSVhsv(273, 58%, 94%)
CMYKcmyk(25.8%, 58.3%, 0%, 5.9%)
CIE-LABlab(56.95, 55.97, -58.51)
CIE-LCHlch(56.95, 80.97, 313.73°)
OKLaboklab(65.28% 0.1257 -0.165)
OKLCHoklch(65.28% 0.207 307.3)
XYZxyz(38.6422, 24.8710, 85.1861)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264F0 #A2F064
analogous
#6C64F0 #B264F0 #F064E8
triadic
#B264F0 #F0B264 #64F0B2
tetradic
#B264F0 #F06C64 #A2F064 #64E8F0
square
#B264F0 #F06C64 #A2F064 #64E8F0
split-complementary
#B264F0 #E8F064 #64F06C
monochromatic
#7713C6 #962CEB #B264F0 #CE9CF5 #E9D4FB

Accessibility & contrast

On white

3.52
#B264F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#B264F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264F0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264F0#FFFFFF#000000##000000
##B264F01.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A86F4
Deuteranopia (green-blind)
#4D89ED
Tritanopia (blue-blind)
#A87FA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b264f0;
/* rgb */ color: rgb(178, 100, 240);
/* oklch */ color: oklch(65.3% 0.207 307.3);
Tailwind
colors: {
  custom: {
    50: '#cd93f6',
    500: '#b264f0',
    950: '#000000',
  },
}
SCSS
$custom: #b264f0;
$custom-light: #cd93f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b264f0",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 240
  },
  "hsl": {
    "h": 273.429,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65277,
    "c": 0.2074,
    "h": 307.3
  },
  "luminance": 0.24871
}

Semantic roles & 50–950 ramp

primary
#B264F0
secondary
#D5EEC1
accent
#DF0766
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #B264F0

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

Preview Lab → · Contrast checker → · Palette generator →

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