#B264F1#B264F1

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

Color values

HEX#B264F1
RGBrgb(178, 100, 241)
HSLhsl(273, 83%, 67%)
HSVhsv(273, 59%, 95%)
CMYKcmyk(26.1%, 58.5%, 0%, 5.5%)
CIE-LABlab(57.01, 56.19, -58.98)
CIE-LCHlch(57.01, 81.46, 313.61°)
OKLaboklab(65.34% 0.1257 -0.1663)
OKLCHoklch(65.34% 0.208 307.1)
XYZxyz(38.7912, 24.9306, 85.9706)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264F1 #A3F164
analogous
#6B64F1 #B264F1 #F164EA
triadic
#B264F1 #F1B264 #64F1B2
tetradic
#B264F1 #F16B64 #A3F164 #64EAF1
square
#B264F1 #F16B64 #A3F164 #64EAF1
split-complementary
#B264F1 #EAF164 #64F16B
monochromatic
#7712C8 #962CEC #B264F1 #CE9CF6 #EAD4FB

Accessibility & contrast

On white

3.51
#B264F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#B264F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264F1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264F1#FFFFFF#000000##000000
##B264F11.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2986F6
Deuteranopia (green-blind)
#4C89EE
Tritanopia (blue-blind)
#A87FA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b264f1;
/* rgb */ color: rgb(178, 100, 241);
/* oklch */ color: oklch(65.3% 0.208 307.1);
Tailwind
colors: {
  custom: {
    50: '#cd93f6',
    500: '#b264f1',
    950: '#000000',
  },
}
SCSS
$custom: #b264f1;
$custom-light: #cd93f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b264f1",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 241
  },
  "hsl": {
    "h": 273.191,
    "s": 83.432,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65338,
    "c": 0.20848,
    "h": 307.1
  },
  "luminance": 0.2493
}

Semantic roles & 50–950 ramp

primary
#B264F1
secondary
#D6EFC2
accent
#E00667
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B264F1

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

Preview Lab → · Contrast checker → · Palette generator →

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