#792FC1#792FC1

#792FC1 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.212 H 301.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#792FC1
RGBrgb(121, 47, 193)
HSLhsl(270, 61%, 47%)
HSVhsv(270, 76%, 76%)
CMYKcmyk(37.3%, 75.6%, 0%, 24.3%)
CIE-LABlab(37.75, 58.22, -63.04)
CIE-LCHlch(37.75, 85.81, 312.72°)
OKLaboklab(48.97% 0.1122 -0.1799)
OKLCHoklch(48.97% 0.212 301.9)
XYZxyz(18.5250, 9.9482, 51.3860)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FC1 #77C12F
analogous
#302FC1 #792FC1 #C12FC0
triadic
#792FC1 #C1792F #2FC179
tetradic
#792FC1 #C1302F #77C12F #2FC0C1
square
#792FC1 #C1302F #77C12F #2FC0C1
split-complementary
#792FC1 #C0C12F #2FC130
monochromatic
#3B175F #5A2390 #792FC1 #9757D6 #B688E2

Accessibility & contrast

On white

7.02
#792FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#792FC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792FC1
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FC1#FFFFFF#000000##FFFFFF
##792FC11.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#695576
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #792fc1;
/* rgb */ color: rgb(121, 47, 193);
/* oklch */ color: oklch(49.0% 0.212 301.9);
Tailwind
colors: {
  custom: {
    50: '#a66fd5',
    500: '#792fc1',
    950: '#000000',
  },
}
SCSS
$custom: #792fc1;
$custom-light: #a66fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#792fc1",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 270.411,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.212,
    "h": 301.9
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#792FC1
secondary
#A5CC80
accent
#E44493
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #792FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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