#B064F8#B064F8

#B064F8 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.6% C 0.216 H 304.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B064F8
RGBrgb(176, 100, 248)
HSLhsl(271, 91%, 68%)
HSVhsv(271, 60%, 97%)
CMYKcmyk(29%, 59.7%, 0%, 2.7%)
CIE-LABlab(57.19, 57.32, -62.58)
CIE-LCHlch(57.19, 84.87, 312.49°)
OKLaboklab(65.56% 0.1231 -0.177)
OKLCHoklch(65.56% 0.216 304.8)
XYZxyz(39.4012, 25.1220, 91.5620)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B064F8 #ACF864
analogous
#6664F8 #B064F8 #F864F6
triadic
#B064F8 #F8B064 #64F8B0
tetradic
#B064F8 #F86664 #ACF864 #64F6F8
square
#B064F8 #F86664 #ACF864 #64F6F8
split-complementary
#B064F8 #F6F864 #64F866
monochromatic
#740AD8 #9229F5 #B064F8 #CE9FFB #ECD9FD

Accessibility & contrast

On white

3.49
#B064F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B064F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B064F8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B064F8#FFFFFF#000000##000000
##B064F81.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1687FD
Deuteranopia (green-blind)
#4289F5
Tritanopia (blue-blind)
#A382A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b064f8;
/* rgb */ color: rgb(176, 100, 248);
/* oklch */ color: oklch(65.6% 0.216 304.8);
Tailwind
colors: {
  custom: {
    50: '#cc94fb',
    500: '#b064f8',
    950: '#000000',
  },
}
SCSS
$custom: #b064f8;
$custom-light: #cc94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b064f8",
  "rgb": {
    "r": 176,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 270.811,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65556,
    "c": 0.21557,
    "h": 304.8
  },
  "luminance": 0.25122
}

Semantic roles & 50–950 ramp

primary
#B064F8
secondary
#DBF2C5
accent
#E60070
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B064F8

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

Preview Lab → · Contrast checker → · Palette generator →

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