#B164FA#B164FA

#B164FA is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.8% C 0.218 H 304.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B164FA
RGBrgb(177, 100, 250)
HSLhsl(271, 94%, 69%)
HSVhsv(271, 60%, 98%)
CMYKcmyk(29.2%, 60%, 0%, 2%)
CIE-LABlab(57.43, 58.01, -63.31)
CIE-LCHlch(57.43, 85.86, 312.50°)
OKLaboklab(65.79% 0.1243 -0.1791)
OKLCHoklch(65.79% 0.218 304.8)
XYZxyz(39.9402, 25.3638, 93.2155)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B164FA #ADFA64
analogous
#6664FA #B164FA #FA64F8
triadic
#B164FA #FAB164 #64FAB1
tetradic
#B164FA #FA6664 #ADFA64 #64F8FA
square
#B164FA #FA6664 #ADFA64 #64F8FA
split-complementary
#B164FA #F8FA64 #64FA66
monochromatic
#7507DC #9329F8 #B164FA #CF9FFC #EDDBFE

Accessibility & contrast

On white

3.46
#B164FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B164FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B164FA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B164FA#FFFFFF#000000##000000
##B164FA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1088FF
Deuteranopia (green-blind)
#418AF7
Tritanopia (blue-blind)
#A483A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b164fa;
/* rgb */ color: rgb(177, 100, 250);
/* oklch */ color: oklch(65.8% 0.218 304.8);
Tailwind
colors: {
  custom: {
    50: '#cc94fd',
    500: '#b164fa',
    950: '#000000',
  },
}
SCSS
$custom: #b164fa;
$custom-light: #cc94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b164fa",
  "rgb": {
    "r": 177,
    "g": 100,
    "b": 250
  },
  "hsl": {
    "h": 270.8,
    "s": 93.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6579,
    "c": 0.21798,
    "h": 304.8
  },
  "luminance": 0.25364
}

Semantic roles & 50–950 ramp

primary
#B164FA
secondary
#DCF3C7
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B164FA

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

Preview Lab → · Contrast checker → · Palette generator →

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