#B264D2#B264D2

#B264D2 is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.5% C 0.175 H 315.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B264D2
RGBrgb(178, 100, 210)
HSLhsl(283, 55%, 61%)
HSVhsv(283, 52%, 82%)
CMYKcmyk(15.2%, 52.4%, 0%, 17.6%)
CIE-LABlab(55.31, 49.45, -44.25)
CIE-LCHlch(55.31, 66.36, 318.18°)
OKLaboklab(63.55% 0.1243 -0.1233)
OKLCHoklch(63.55% 0.175 315.2)
XYZxyz(34.5483, 23.2335, 63.6249)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264D2 #84D264
analogous
#7B64D2 #B264D2 #D264BB
triadic
#B264D2 #D2B264 #64D2B2
tetradic
#B264D2 #D27B64 #84D264 #64BBD2
square
#B264D2 #D27B64 #84D264 #64BBD2
split-complementary
#B264D2 #BBD264 #64D27B
monochromatic
#732A91 #9938C1 #B264D2 #CA93E0 #E1C3EE

Accessibility & contrast

On white

3.72
#B264D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#B264D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264D2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264D2#FFFFFF#000000##000000
##B264D21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D6
Deuteranopia (green-blind)
#6487CF
Tritanopia (blue-blind)
#B07592
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b264d2;
/* rgb */ color: rgb(178, 100, 210);
/* oklch */ color: oklch(63.5% 0.175 315.2);
Tailwind
colors: {
  custom: {
    50: '#cb93e0',
    500: '#b264d2',
    950: '#000000',
  },
}
SCSS
$custom: #b264d2;
$custom-light: #cb93e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b264d2",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 282.545,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63546,
    "c": 0.17512,
    "h": 315.2
  },
  "luminance": 0.23232
}

Semantic roles & 50–950 ramp

primary
#B264D2
secondary
#C0DEB4
accent
#C32351
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B264D2

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

Preview Lab → · Contrast checker → · Palette generator →

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