#792DBA#792DBA

#792DBA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.207 H 303.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#792DBA
RGBrgb(121, 45, 186)
HSLhsl(272, 61%, 45%)
HSVhsv(272, 76%, 73%)
CMYKcmyk(34.9%, 75.8%, 0%, 27.1%)
CIE-LABlab(36.91, 57.40, -60.30)
CIE-LCHlch(36.91, 83.26, 313.59°)
OKLaboklab(48.2% 0.1156 -0.1718)
OKLCHoklch(48.2% 0.207 303.9)
XYZxyz(17.6844, 9.4869, 47.3444)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792DBA #6EBA2D
analogous
#322DBA #792DBA #BA2DB5
triadic
#792DBA #BA792D #2DBA79
tetradic
#792DBA #BA322D #6EBA2D #2DB5BA
square
#792DBA #BA322D #6EBA2D #2DB5BA
split-complementary
#792DBA #B5BA2D #2DBA32
monochromatic
#391557 #592189 #792DBA #9750D5 #B481E0

Accessibility & contrast

On white

7.25
#792DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#792DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792DBA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792DBA#FFFFFF#000000##FFFFFF
##792DBA1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792dba;
/* rgb */ color: rgb(121, 45, 186);
/* oklch */ color: oklch(48.2% 0.207 303.9);
Tailwind
colors: {
  custom: {
    50: '#a66ed0',
    500: '#792dba',
    950: '#000000',
  },
}
SCSS
$custom: #792dba;
$custom-light: #a66ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#792dba",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 272.34,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48198,
    "c": 0.20707,
    "h": 303.9
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#792DBA
secondary
#9EC979
accent
#E4448E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #792DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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