#7938BE#7938BE

#7938BE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.199 H 301.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7938BE
RGBrgb(121, 56, 190)
HSLhsl(269, 54%, 48%)
HSVhsv(269, 71%, 75%)
CMYKcmyk(36.3%, 70.5%, 0%, 25.5%)
CIE-LABlab(38.92, 53.53, -59.38)
CIE-LCHlch(38.92, 79.95, 312.03°)
OKLaboklab(49.72% 0.1043 -0.1692)
OKLCHoklch(49.72% 0.199 301.7)
XYZxyz(18.5914, 10.6109, 49.7739)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7938BE #7DBE38
analogous
#383ABE #7938BE #BC38BE
triadic
#7938BE #BE7938 #38BE79
tetradic
#7938BE #BE383A #7DBE38 #38BEBC
square
#7938BE #BE383A #7DBE38 #38BEBC
split-complementary
#7938BE #BEBC38 #3ABE38
monochromatic
#3D1C5F #5B2A8F #7938BE #9862D1 #B792DF

Accessibility & contrast

On white

6.73
#7938BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7938BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7938BE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7938BE#FFFFFF#000000##FFFFFF
##7938BE1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#6A5877
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7938be;
/* rgb */ color: rgb(121, 56, 190);
/* oklch */ color: oklch(49.7% 0.199 301.7);
Tailwind
colors: {
  custom: {
    50: '#a574d2',
    500: '#7938be',
    950: '#000000',
  },
}
SCSS
$custom: #7938be;
$custom-light: #a574d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7938be",
  "rgb": {
    "r": 121,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 269.104,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49717,
    "c": 0.19878,
    "h": 301.7
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#7938BE
secondary
#AACA88
accent
#DE4A96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7938BE

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

Preview Lab → · Contrast checker → · Palette generator →

#7938BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva