#7934CD#7934CD

#7934CD is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.219 H 298.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7934CD
RGBrgb(121, 52, 205)
HSLhsl(267, 60%, 50%)
HSVhsv(267, 75%, 80%)
CMYKcmyk(41%, 74.6%, 0%, 19.6%)
CIE-LABlab(39.46, 58.99, -67.24)
CIE-LCHlch(39.46, 89.45, 311.26°)
OKLaboklab(50.47% 0.105 -0.1923)
OKLCHoklch(50.47% 0.219 298.6)
XYZxyz(20.1298, 10.9284, 58.7946)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934CD #88CD34
analogous
#343BCD #7934CD #C534CD
triadic
#7934CD #CD7934 #34CD79
tetradic
#7934CD #CD343B #88CD34 #34CDC5
square
#7934CD #CD343B #88CD34 #34CDC5
split-complementary
#7934CD #CDC534 #3BCD34
monochromatic
#3F1B6C #5C279D #7934CD #9965D9 #BA96E5

Accessibility & contrast

On white

6.59
#7934CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7934CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7934CD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934CD#FFFFFF#000000##FFFFFF
##7934CD1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#645C7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7934cd;
/* rgb */ color: rgb(121, 52, 205);
/* oklch */ color: oklch(50.5% 0.219 298.6);
Tailwind
colors: {
  custom: {
    50: '#a772dd',
    500: '#7934cd',
    950: '#000000',
  },
}
SCSS
$custom: #7934cd;
$custom-light: #a772dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7934cd",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 267.059,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50468,
    "c": 0.21908,
    "h": 298.6
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#7934CD
secondary
#B2D18C
accent
#E4449C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7934CD

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

Preview Lab → · Contrast checker → · Palette generator →

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