#BD79F2#BD79F2

#BD79F2 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.6% C 0.181 H 308.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#BD79F2
RGBrgb(189, 121, 242)
HSLhsl(274, 82%, 71%)
HSVhsv(274, 50%, 95%)
CMYKcmyk(21.9%, 50%, 0%, 5.1%)
CIE-LABlab(62.43, 48.29, -50.82)
CIE-LCHlch(62.43, 70.11, 313.54°)
OKLaboklab(69.62% 0.1125 -0.1423)
OKLCHoklch(69.62% 0.181 308.3)
XYZxyz(43.8475, 30.9049, 87.6425)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD79F2 #AEF279
analogous
#8079F2 #BD79F2 #F279EA
triadic
#BD79F2 #F2BD79 #79F2BD
tetradic
#BD79F2 #F28079 #AEF279 #79EAF2
square
#BD79F2 #F28079 #AEF279 #79EAF2
split-complementary
#BD79F2 #EAF279 #79F280
monochromatic
#8515DB #A241ED #BD79F2 #D8B1F7 #F1E3FC

Accessibility & contrast

On white

2.92
#BD79F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#BD79F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD79F2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD79F2#FFFFFF#000000##000000
##BD79F21.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#B68EAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bd79f2;
/* rgb */ color: rgb(189, 121, 242);
/* oklch */ color: oklch(69.6% 0.181 308.3);
Tailwind
colors: {
  custom: {
    50: '#d3a1f7',
    500: '#bd79f2',
    950: '#000000',
  },
}
SCSS
$custom: #bd79f2;
$custom-light: #d3a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd79f2",
  "rgb": {
    "r": 189,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 273.719,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69616,
    "c": 0.18141,
    "h": 308.3
  },
  "luminance": 0.30904
}

Semantic roles & 50–950 ramp

primary
#BD79F2
secondary
#E1F3D3
accent
#DF0765
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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