#B264CB#B264CB

#B264CB is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.2% C 0.168 H 317.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B264CB
RGBrgb(178, 100, 203)
HSLhsl(285, 50%, 59%)
HSVhsv(285, 51%, 80%)
CMYKcmyk(12.3%, 50.7%, 0%, 20.4%)
CIE-LABlab(54.96, 48.00, -40.83)
CIE-LCHlch(54.96, 63.02, 319.62°)
OKLaboklab(63.17% 0.1236 -0.1134)
OKLCHoklch(63.17% 0.168 317.5)
XYZxyz(33.6952, 22.8923, 59.1320)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264CB #7DCB64
analogous
#7F64CB #B264CB #CB64B1
triadic
#B264CB #CBB264 #64CBB2
tetradic
#B264CB #CB7F64 #7DCB64 #64B1CB
square
#B264CB #CB7F64 #7DCB64 #64B1CB
split-complementary
#B264CB #B1CB64 #64CB7F
monochromatic
#712D87 #983DB5 #B264CB #C992DA #E0C0EA

Accessibility & contrast

On white

3.76
#B264CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B264CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264CB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264CB#FFFFFF#000000##000000
##B264CB1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCE
Deuteranopia (green-blind)
#6886C8
Tritanopia (blue-blind)
#B1738E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b264cb;
/* rgb */ color: rgb(178, 100, 203);
/* oklch */ color: oklch(63.2% 0.168 317.5);
Tailwind
colors: {
  custom: {
    50: '#cb93db',
    500: '#b264cb',
    950: '#000000',
  },
}
SCSS
$custom: #b264cb;
$custom-light: #cb93db;
$custom-dark: #000000;
JSON
{
  "hex": "#b264cb",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 285.437,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63173,
    "c": 0.16772,
    "h": 317.5
  },
  "luminance": 0.22891
}

Semantic roles & 50–950 ramp

primary
#B264CB
secondary
#BBD9B1
accent
#D94F70
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B264CB

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

Preview Lab → · Contrast checker → · Palette generator →

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