#B264AF#B264AF

#B264AF is a mid, vivid purple. Relative luminance 0.217; OKLCH L 61.8% C 0.140 H 328.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B264AF
RGBrgb(178, 100, 175)
HSLhsl(302, 34%, 55%)
HSVhsv(302, 44%, 70%)
CMYKcmyk(0%, 43.8%, 1.7%, 30.2%)
CIE-LABlab(53.68, 42.54, -26.73)
CIE-LCHlch(53.68, 50.24, 327.86°)
OKLaboklab(61.8% 0.119 -0.0729)
OKLCHoklch(61.8% 0.14 328.5)
XYZxyz(30.6547, 21.6760, 43.1183)
Luminance0.2167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264AF #64B267
analogous
#8E64B2 #B264AF #B26488
triadic
#B264AF #AFB264 #64AFB2
tetradic
#B264AF #B28E64 #64B267 #6488B2
square
#B264AF #B28E64 #64B267 #6488B2
split-complementary
#B264AF #88B264 #64B28E
monochromatic
#683466 #91488E #B264AF #C68DC4 #DBB6D9

Accessibility & contrast

On white

3.94
#B264AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B264AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264AF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264AF#FFFFFF#000000##000000
##B264AF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB2
Deuteranopia (green-blind)
#7484AD
Tritanopia (blue-blind)
#B76B81
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b264af;
/* rgb */ color: rgb(178, 100, 175);
/* oklch */ color: oklch(61.8% 0.140 328.5);
Tailwind
colors: {
  custom: {
    50: '#cb92c7',
    500: '#b264af',
    950: '#000000',
  },
}
SCSS
$custom: #b264af;
$custom-light: #cb92c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b264af",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 302.308,
    "s": 33.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61803,
    "c": 0.13953,
    "h": 328.5
  },
  "luminance": 0.21674
}

Semantic roles & 50–950 ramp

primary
#B264AF
secondary
#A8C9AA
accent
#CA625E
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B264AF

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

Preview Lab → · Contrast checker → · Palette generator →

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