#792FBA#792FBA

#792FBA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.205 H 303.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#792FBA
RGBrgb(121, 47, 186)
HSLhsl(272, 60%, 46%)
HSVhsv(272, 75%, 73%)
CMYKcmyk(34.9%, 74.7%, 0%, 27.1%)
CIE-LABlab(37.19, 56.58, -59.83)
CIE-LCHlch(37.19, 82.35, 313.40°)
OKLaboklab(48.4% 0.1138 -0.1705)
OKLCHoklch(48.4% 0.205 303.7)
XYZxyz(17.7625, 9.6432, 47.3704)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FBA #70BA2F
analogous
#332FBA #792FBA #BA2FB6
triadic
#792FBA #BA792F #2FBA79
tetradic
#792FBA #BA332F #70BA2F #2FB6BA
square
#792FBA #BA332F #70BA2F #2FB6BA
split-complementary
#792FBA #B6BA2F #2FBA33
monochromatic
#391658 #592389 #792FBA #9753D3 #B584E0

Accessibility & contrast

On white

7.17
#792FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#792FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792FBA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FBA#FFFFFF#000000##FFFFFF
##792FBA1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#6C5272
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #792fba;
/* rgb */ color: rgb(121, 47, 186);
/* oklch */ color: oklch(48.4% 0.205 303.7);
Tailwind
colors: {
  custom: {
    50: '#a56fd0',
    500: '#792fba',
    950: '#000000',
  },
}
SCSS
$custom: #792fba;
$custom-light: #a56fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#792fba",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 271.942,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.20493,
    "h": 303.7
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#792FBA
secondary
#A0C97C
accent
#E3458F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #792FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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