#7934B2#7934B2

#7934B2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.191 H 305.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7934B2
RGBrgb(121, 52, 178)
HSLhsl(273, 55%, 45%)
HSVhsv(273, 71%, 70%)
CMYKcmyk(32%, 70.8%, 0%, 30.2%)
CIE-LABlab(37.36, 52.51, -54.83)
CIE-LCHlch(37.36, 75.92, 313.76°)
OKLaboklab(48.33% 0.1104 -0.1558)
OKLCHoklch(48.33% 0.191 305.3)
XYZxyz(17.1472, 9.7354, 43.0866)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934B2 #6DB234
analogous
#3A34B2 #7934B2 #B234AC
triadic
#7934B2 #B27934 #34B279
tetradic
#7934B2 #B23A34 #6DB234 #34ACB2
square
#7934B2 #B23A34 #6DB234 #34ACB2
split-complementary
#7934B2 #ACB234 #34B23A
monochromatic
#391853 #592683 #7934B2 #9756CE #B485DB

Accessibility & contrast

On white

7.13
#7934B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7934B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7934B2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934B2#FFFFFF#000000##FFFFFF
##7934B21.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)
#0056B6
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#6F516F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7934b2;
/* rgb */ color: rgb(121, 52, 178);
/* oklch */ color: oklch(48.3% 0.191 305.3);
Tailwind
colors: {
  custom: {
    50: '#a471ca',
    500: '#7934b2',
    950: '#000000',
  },
}
SCSS
$custom: #7934b2;
$custom-light: #a471ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7934b2",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 272.857,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48331,
    "c": 0.19092,
    "h": 305.3
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#7934B2
secondary
#9DC57D
accent
#DE4A8D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7934B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7934B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva