#B264DF#B264DF

#B264DF is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.3% C 0.189 H 311.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B264DF
RGBrgb(178, 100, 223)
HSLhsl(278, 66%, 63%)
HSVhsv(278, 55%, 87%)
CMYKcmyk(20.2%, 55.2%, 0%, 12.5%)
CIE-LABlab(56.00, 52.22, -50.52)
CIE-LCHlch(56.00, 72.66, 315.95°)
OKLaboklab(64.27% 0.1252 -0.1416)
OKLCHoklch(64.27% 0.189 311.5)
XYZxyz(36.2341, 23.9078, 72.5036)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264DF #91DF64
analogous
#7464DF #B264DF #DF64CE
triadic
#B264DF #DFB264 #64DFB2
tetradic
#B264DF #DF7464 #91DF64 #64CEDF
square
#B264DF #DF7464 #91DF64 #64CEDF
split-complementary
#B264DF #CEDF64 #64DF74
monochromatic
#7622A6 #9931D5 #B264DF #CB97E9 #E4C9F4

Accessibility & contrast

On white

3.63
#B264DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B264DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264DF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264DF#FFFFFF#000000##000000
##B264DF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E3
Deuteranopia (green-blind)
#5B88DC
Tritanopia (blue-blind)
#AD7998
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b264df;
/* rgb */ color: rgb(178, 100, 223);
/* oklch */ color: oklch(64.3% 0.189 311.5);
Tailwind
colors: {
  custom: {
    50: '#cc93e9',
    500: '#b264df',
    950: '#000000',
  },
}
SCSS
$custom: #b264df;
$custom-light: #cc93e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b264df",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 278.049,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6427,
    "c": 0.18904,
    "h": 311.5
  },
  "luminance": 0.23907
}

Semantic roles & 50–950 ramp

primary
#B264DF
secondary
#CAE5B9
accent
#CE185A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B264DF

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

Preview Lab → · Contrast checker → · Palette generator →

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