#BB79FC#BB79FC

#BB79FC is a light, vivid violet. Relative luminance 0.313; OKLCH L 70.0% C 0.192 H 305.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#BB79FC
RGBrgb(187, 121, 252)
HSLhsl(270, 96%, 73%)
HSVhsv(270, 52%, 99%)
CMYKcmyk(25.8%, 52%, 0%, 1.2%)
CIE-LABlab(62.73, 50.03, -55.86)
CIE-LCHlch(62.73, 74.99, 311.85°)
OKLaboklab(69.96% 0.1109 -0.157)
OKLCHoklch(69.96% 0.192 305.2)
XYZxyz(44.8978, 31.2681, 95.7466)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB79FC #BAFC79
analogous
#7979FC #BB79FC #FC79FB
triadic
#BB79FC #FCBB79 #79FCBB
tetradic
#BB79FC #FC7979 #BAFC79 #79FBFC
square
#BB79FC #FC7979 #BAFC79 #79FBFC
split-complementary
#BB79FC #FBFC79 #79FC79
monochromatic
#7E05F5 #9D3DFB #BB79FC #D9B5FD #F0E1FE

Accessibility & contrast

On white

2.90
#BB79FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#BB79FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB79FC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB79FC#FFFFFF#000000##000000
##BB79FC1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#B091AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb79fc;
/* rgb */ color: rgb(187, 121, 252);
/* oklch */ color: oklch(70.0% 0.192 305.2);
Tailwind
colors: {
  custom: {
    50: '#d2a2fe',
    500: '#bb79fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb79fc;
$custom-light: #d2a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb79fc",
  "rgb": {
    "r": 187,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 270.229,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69963,
    "c": 0.19228,
    "h": 305.2
  },
  "luminance": 0.31268
}

Semantic roles & 50–950 ramp

primary
#BB79FC
secondary
#E5F7D4
accent
#E60072
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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