#B264DD#B264DD

#B264DD is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.2% C 0.187 H 312.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B264DD
RGBrgb(178, 100, 221)
HSLhsl(279, 64%, 63%)
HSVhsv(279, 55%, 87%)
CMYKcmyk(19.5%, 54.8%, 0%, 13.3%)
CIE-LABlab(55.89, 51.79, -49.56)
CIE-LCHlch(55.89, 71.68, 316.26°)
OKLaboklab(64.16% 0.1251 -0.1388)
OKLCHoklch(64.16% 0.187 312)
XYZxyz(35.9661, 23.8006, 71.0919)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264DD #8FDD64
analogous
#7664DD #B264DD #DD64CB
triadic
#B264DD #DDB264 #64DDB2
tetradic
#B264DD #DD7664 #8FDD64 #64CBDD
square
#B264DD #DD7664 #8FDD64 #64CBDD
split-complementary
#B264DD #CBDD64 #64DD76
monochromatic
#7624A3 #9932D2 #B264DD #CB96E8 #E4C8F3

Accessibility & contrast

On white

3.65
#B264DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B264DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264DD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264DD#FFFFFF#000000##000000
##B264DD1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E1
Deuteranopia (green-blind)
#5D88DA
Tritanopia (blue-blind)
#AD7997
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b264dd;
/* rgb */ color: rgb(178, 100, 221);
/* oklch */ color: oklch(64.2% 0.187 312.0);
Tailwind
colors: {
  custom: {
    50: '#cc93e8',
    500: '#b264dd',
    950: '#000000',
  },
}
SCSS
$custom: #b264dd;
$custom-light: #cc93e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b264dd",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 278.678,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64156,
    "c": 0.18688,
    "h": 312
  },
  "luminance": 0.238
}

Semantic roles & 50–950 ramp

primary
#B264DD
secondary
#C8E4B9
accent
#CC1A59
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B264DD

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

Preview Lab → · Contrast checker → · Palette generator →

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