#B064F9#B064F9

#B064F9 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.6% C 0.217 H 304.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B064F9
RGBrgb(176, 100, 249)
HSLhsl(271, 93%, 68%)
HSVhsv(271, 60%, 98%)
CMYKcmyk(29.3%, 59.8%, 0%, 2.4%)
CIE-LABlab(57.25, 57.55, -63.04)
CIE-LCHlch(57.25, 85.36, 312.40°)
OKLaboklab(65.62% 0.1231 -0.1783)
OKLCHoklch(65.62% 0.217 304.6)
XYZxyz(39.5568, 25.1842, 92.3813)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B064F9 #ADF964
analogous
#6564F9 #B064F9 #F964F8
triadic
#B064F9 #F9B064 #64F9B0
tetradic
#B064F9 #F96564 #ADF964 #64F8F9
square
#B064F9 #F96564 #ADF964 #64F8F9
split-complementary
#B064F9 #F8F964 #64F965
monochromatic
#7308DA #9229F7 #B064F9 #CE9FFB #ECDAFE

Accessibility & contrast

On white

3.48
#B064F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B064F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B064F9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B064F9#FFFFFF#000000##000000
##B064F91.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1287FE
Deuteranopia (green-blind)
#418AF6
Tritanopia (blue-blind)
#A382A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b064f9;
/* rgb */ color: rgb(176, 100, 249);
/* oklch */ color: oklch(65.6% 0.217 304.6);
Tailwind
colors: {
  custom: {
    50: '#cc94fc',
    500: '#b064f9',
    950: '#000000',
  },
}
SCSS
$custom: #b064f9;
$custom-light: #cc94fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b064f9",
  "rgb": {
    "r": 176,
    "g": 100,
    "b": 249
  },
  "hsl": {
    "h": 270.604,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65619,
    "c": 0.21666,
    "h": 304.6
  },
  "luminance": 0.25184
}

Semantic roles & 50–950 ramp

primary
#B064F9
secondary
#DCF3C6
accent
#E60070
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #B064F9

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

Preview Lab → · Contrast checker → · Palette generator →

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