#B264D9#B264D9

#B264D9 is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.9% C 0.183 H 313.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B264D9
RGBrgb(178, 100, 217)
HSLhsl(280, 61%, 62%)
HSVhsv(280, 54%, 85%)
CMYKcmyk(18%, 53.9%, 0%, 14.9%)
CIE-LABlab(55.67, 50.93, -47.64)
CIE-LCHlch(55.67, 69.74, 316.91°)
OKLaboklab(63.93% 0.1249 -0.1332)
OKLCHoklch(63.93% 0.183 313.1)
XYZxyz(35.4395, 23.5900, 68.3186)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264D9 #8BD964
analogous
#7864D9 #B264D9 #D964C6
triadic
#B264D9 #D9B264 #64D9B2
tetradic
#B264D9 #D97864 #8BD964 #64C6D9
square
#B264D9 #D97864 #8BD964 #64C6D9
split-complementary
#B264D9 #C6D964 #64D978
monochromatic
#75269C #9A33CD #B264D9 #CA95E5 #E3C6F1

Accessibility & contrast

On white

3.67
#B264D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B264D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264D9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264D9#FFFFFF#000000##000000
##B264D91.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4581DD
Deuteranopia (green-blind)
#5F87D6
Tritanopia (blue-blind)
#AE7795
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b264d9;
/* rgb */ color: rgb(178, 100, 217);
/* oklch */ color: oklch(63.9% 0.183 313.1);
Tailwind
colors: {
  custom: {
    50: '#cc93e5',
    500: '#b264d9',
    950: '#000000',
  },
}
SCSS
$custom: #b264d9;
$custom-light: #cc93e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b264d9",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 280,
    "s": 60.622,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63931,
    "c": 0.18259,
    "h": 313.1
  },
  "luminance": 0.23589
}

Semantic roles & 50–950 ramp

primary
#B264D9
secondary
#C5E2B7
accent
#C81D56
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B264D9

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

Preview Lab → · Contrast checker → · Palette generator →

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