#B264DE#B264DE

#B264DE is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.2% C 0.188 H 311.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B264DE
RGBrgb(178, 100, 222)
HSLhsl(278, 65%, 63%)
HSVhsv(278, 55%, 87%)
CMYKcmyk(19.8%, 55%, 0%, 12.9%)
CIE-LABlab(55.94, 52.00, -50.04)
CIE-LCHlch(55.94, 72.17, 316.10°)
OKLaboklab(64.21% 0.1252 -0.1402)
OKLCHoklch(64.21% 0.188 311.8)
XYZxyz(36.0997, 23.8541, 71.7957)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264DE #90DE64
analogous
#7564DE #B264DE #DE64CD
triadic
#B264DE #DEB264 #64DEB2
tetradic
#B264DE #DE7564 #90DE64 #64CDDE
square
#B264DE #DE7564 #90DE64 #64CDDE
split-complementary
#B264DE #CDDE64 #64DE75
monochromatic
#7623A5 #9932D3 #B264DE #CB96E9 #E4C9F3

Accessibility & contrast

On white

3.64
#B264DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B264DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264DE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264DE#FFFFFF#000000##000000
##B264DE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E2
Deuteranopia (green-blind)
#5C88DB
Tritanopia (blue-blind)
#AD7998
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b264de;
/* rgb */ color: rgb(178, 100, 222);
/* oklch */ color: oklch(64.2% 0.188 311.8);
Tailwind
colors: {
  custom: {
    50: '#cc93e9',
    500: '#b264de',
    950: '#000000',
  },
}
SCSS
$custom: #b264de;
$custom-light: #cc93e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b264de",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 222
  },
  "hsl": {
    "h": 278.361,
    "s": 64.894,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64213,
    "c": 0.18796,
    "h": 311.8
  },
  "luminance": 0.23853
}

Semantic roles & 50–950 ramp

primary
#B264DE
secondary
#C9E5B9
accent
#CD195A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B264DE

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

Preview Lab → · Contrast checker → · Palette generator →

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