#792FBC#792FBC

#792FBC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.207 H 303.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#792FBC
RGBrgb(121, 47, 188)
HSLhsl(271, 60%, 46%)
HSVhsv(271, 75%, 74%)
CMYKcmyk(35.6%, 75%, 0%, 26.3%)
CIE-LABlab(37.35, 57.05, -60.75)
CIE-LCHlch(37.35, 83.34, 313.20°)
OKLaboklab(48.56% 0.1133 -0.1732)
OKLCHoklch(48.56% 0.207 303.2)
XYZxyz(17.9766, 9.7288, 48.4980)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FBC #72BC2F
analogous
#322FBC #792FBC #BC2FB8
triadic
#792FBC #BC792F #2FBC79
tetradic
#792FBC #BC322F #72BC2F #2FB8BC
square
#792FBC #BC322F #72BC2F #2FB8BC
split-complementary
#792FBC #B8BC2F #2FBC32
monochromatic
#3A175A #59238B #792FBC #9754D4 #B585E0

Accessibility & contrast

On white

7.13
#792FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#792FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792FBC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FBC#FFFFFF#000000##FFFFFF
##792FBC1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#6B5374
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #792fbc;
/* rgb */ color: rgb(121, 47, 188);
/* oklch */ color: oklch(48.6% 0.207 303.2);
Tailwind
colors: {
  custom: {
    50: '#a66fd1',
    500: '#792fbc',
    950: '#000000',
  },
}
SCSS
$custom: #792fbc;
$custom-light: #a66fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#792fbc",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 271.489,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.20696,
    "h": 303.2
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#792FBC
secondary
#A1CA7D
accent
#E34590
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #792FBC

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

Preview Lab → · Contrast checker → · Palette generator →

#792FBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva