#B064DF#B064DF

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

Color values

HEX#B064DF
RGBrgb(176, 100, 223)
HSLhsl(277, 66%, 63%)
HSVhsv(277, 55%, 87%)
CMYKcmyk(21.1%, 55.2%, 0%, 12.5%)
CIE-LABlab(55.76, 51.71, -50.91)
CIE-LCHlch(55.76, 72.57, 315.45°)
OKLaboklab(64.05% 0.1228 -0.1428)
OKLCHoklch(64.05% 0.188 310.7)
XYZxyz(35.7785, 23.6729, 72.4823)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B064DF #93DF64
analogous
#7264DF #B064DF #DF64D0
triadic
#B064DF #DFB064 #64DFB0
tetradic
#B064DF #DF7264 #93DF64 #64D0DF
square
#B064DF #DF7264 #93DF64 #64D0DF
split-complementary
#B064DF #D0DF64 #64DF72
monochromatic
#7422A6 #9631D5 #B064DF #CA97E9 #E4C9F4

Accessibility & contrast

On white

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

On black

5.73
#B064DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B064DF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B064DF#FFFFFF#000000##000000
##B064DF1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E3
Deuteranopia (green-blind)
#5987DC
Tritanopia (blue-blind)
#AA7A98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b064df;
/* rgb */ color: rgb(176, 100, 223);
/* oklch */ color: oklch(64.0% 0.188 310.7);
Tailwind
colors: {
  custom: {
    50: '#ca93e9',
    500: '#b064df',
    950: '#000000',
  },
}
SCSS
$custom: #b064df;
$custom-light: #ca93e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b064df",
  "rgb": {
    "r": 176,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 277.073,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64045,
    "c": 0.18833,
    "h": 310.7
  },
  "luminance": 0.23672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B064DF

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

Preview Lab → · Contrast checker → · Palette generator →

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