#9B79F2#9B79F2

#9B79F2 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.3% C 0.175 H 294.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9B79F2
RGBrgb(155, 121, 242)
HSLhsl(257, 82%, 71%)
HSVhsv(257, 50%, 95%)
CMYKcmyk(36%, 50%, 0%, 5.1%)
CIE-LABlab(59.02, 39.65, -56.44)
CIE-LCHlch(59.02, 68.98, 305.08°)
OKLaboklab(66.3% 0.0713 -0.1596)
OKLCHoklch(66.3% 0.175 294.1)
XYZxyz(36.3778, 27.0534, 87.2924)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B79F2 #D0F279
analogous
#7993F2 #9B79F2 #D879F2
triadic
#9B79F2 #F29B79 #79F29B
tetradic
#9B79F2 #F27993 #D0F279 #79F2D8
square
#9B79F2 #F27993 #D0F279 #79F2D8
split-complementary
#9B79F2 #F2D879 #93F279
monochromatic
#4D15DB #7141ED #9B79F2 #C5B1F7 #EAE3FC

Accessibility & contrast

On white

3.28
#9B79F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9B79F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B79F2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B79F2#FFFFFF#000000##000000
##9B79F21.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#8691AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9b79f2;
/* rgb */ color: rgb(155, 121, 242);
/* oklch */ color: oklch(66.3% 0.175 294.1);
Tailwind
colors: {
  custom: {
    50: '#bca0f7',
    500: '#9b79f2',
    950: '#000000',
  },
}
SCSS
$custom: #9b79f2;
$custom-light: #bca0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b79f2",
  "rgb": {
    "r": 155,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 256.86,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.663,
    "c": 0.1748,
    "h": 294.1
  },
  "luminance": 0.27054
}

Semantic roles & 50–950 ramp

primary
#9B79F2
secondary
#EAF3D3
accent
#DF07A2
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #9B79F2

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

Preview Lab → · Contrast checker → · Palette generator →

#9B79F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva