#B79FF2#B79FF2

#B79FF2 is a light, moderate violet. Relative luminance 0.413; OKLCH L 75.5% C 0.119 H 296.7°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#B79FF2
RGBrgb(183, 159, 242)
HSLhsl(257, 76%, 79%)
HSVhsv(257, 34%, 95%)
CMYKcmyk(24.4%, 34.3%, 0%, 5.1%)
CIE-LABlab(70.37, 25.76, -38.39)
CIE-LCHlch(70.37, 46.23, 303.86°)
OKLaboklab(75.46% 0.0537 -0.1065)
OKLCHoklch(75.46% 0.119 296.7)
XYZxyz(47.9499, 41.2739, 89.4277)
Luminance0.4127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79FF2 #DAF29F
analogous
#9FB0F2 #B79FF2 #E09FF2
triadic
#B79FF2 #F2B79F #9FF2B7
tetradic
#B79FF2 #F29FB0 #DAF29F #9FF2E0
square
#B79FF2 #F29FB0 #DAF29F #9FF2E0
split-complementary
#B79FF2 #F2E09F #B0F29F
monochromatic
#6633E3 #8F69EB #B79FF2 #DFD5F9 #EBE4FB

Accessibility & contrast

On white

2.27
#B79FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#B79FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79FF2
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79FF2#FFFFFF#000000##000000
##B79FF21.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF5
Deuteranopia (green-blind)
#8EABF0
Tritanopia (blue-blind)
#ABADBD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b79ff2;
/* rgb */ color: rgb(183, 159, 242);
/* oklch */ color: oklch(75.5% 0.119 296.7);
Tailwind
colors: {
  custom: {
    50: '#cebbf6',
    500: '#b79ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b79ff2;
$custom-light: #cebbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b79ff2",
  "rgb": {
    "r": 183,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 257.349,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75464,
    "c": 0.11929,
    "h": 296.7
  },
  "luminance": 0.41274
}

Semantic roles & 50–950 ramp

primary
#B79FF2
secondary
#EBF3D8
accent
#D80D9E
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141217
muted
#828185

Preview Lab

Preview with #B79FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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