#B264DB#B264DB

#B264DB is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.0% C 0.185 H 312.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B264DB
RGBrgb(178, 100, 219)
HSLhsl(279, 62%, 63%)
HSVhsv(279, 54%, 86%)
CMYKcmyk(18.7%, 54.3%, 0%, 14.1%)
CIE-LABlab(55.78, 51.36, -48.60)
CIE-LCHlch(55.78, 70.71, 316.58°)
OKLaboklab(64.04% 0.125 -0.136)
OKLCHoklch(64.04% 0.185 312.6)
XYZxyz(35.7012, 23.6947, 69.6969)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264DB #8DDB64
analogous
#7764DB #B264DB #DB64C8
triadic
#B264DB #DBB264 #64DBB2
tetradic
#B264DB #DB7764 #8DDB64 #64C8DB
square
#B264DB #DB7764 #8DDB64 #64C8DB
split-complementary
#B264DB #C8DB64 #64DB77
monochromatic
#7525A0 #9932CF #B264DB #CB96E7 #E3C7F2

Accessibility & contrast

On white

3.66
#B264DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B264DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264DB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264DB#FFFFFF#000000##000000
##B264DB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382DF
Deuteranopia (green-blind)
#5E87D8
Tritanopia (blue-blind)
#AE7896
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b264db;
/* rgb */ color: rgb(178, 100, 219);
/* oklch */ color: oklch(64.0% 0.185 312.6);
Tailwind
colors: {
  custom: {
    50: '#cc93e7',
    500: '#b264db',
    950: '#000000',
  },
}
SCSS
$custom: #b264db;
$custom-light: #cc93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b264db",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 279.328,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64043,
    "c": 0.18473,
    "h": 312.6
  },
  "luminance": 0.23694
}

Semantic roles & 50–950 ramp

primary
#B264DB
secondary
#C7E3B8
accent
#CA1B58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B264DB

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

Preview Lab → · Contrast checker → · Palette generator →

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