#B264C8#B264C8

#B264C8 is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.0% C 0.165 H 318.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B264C8
RGBrgb(178, 100, 200)
HSLhsl(287, 48%, 59%)
HSVhsv(287, 50%, 78%)
CMYKcmyk(11%, 50%, 0%, 21.6%)
CIE-LABlab(54.81, 47.39, -39.35)
CIE-LCHlch(54.81, 61.60, 320.30°)
OKLaboklab(63.02% 0.1232 -0.1091)
OKLCHoklch(63.02% 0.165 318.5)
XYZxyz(33.3412, 22.7506, 57.2674)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264C8 #7AC864
analogous
#8064C8 #B264C8 #C864AC
triadic
#B264C8 #C8B264 #64C8B2
tetradic
#B264C8 #C88064 #7AC864 #64ACC8
square
#B264C8 #C88064 #7AC864 #64ACC8
split-complementary
#B264C8 #ACC864 #64C880
monochromatic
#702F83 #973FB0 #B264C8 #C891D8 #DFBEE8

Accessibility & contrast

On white

3.78
#B264C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B264C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264C8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264C8#FFFFFF#000000##000000
##B264C81.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECB
Deuteranopia (green-blind)
#6986C5
Tritanopia (blue-blind)
#B2728D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b264c8;
/* rgb */ color: rgb(178, 100, 200);
/* oklch */ color: oklch(63.0% 0.165 318.5);
Tailwind
colors: {
  custom: {
    50: '#cb93d9',
    500: '#b264c8',
    950: '#000000',
  },
}
SCSS
$custom: #b264c8;
$custom-light: #cb93d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b264c8",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 286.8,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63016,
    "c": 0.16457,
    "h": 318.5
  },
  "luminance": 0.22749
}

Semantic roles & 50–950 ramp

primary
#B264C8
secondary
#B9D8B0
accent
#D7516E
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B264C8

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

Preview Lab → · Contrast checker → · Palette generator →

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