#7938BF#7938BF

#7938BF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.200 H 301.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7938BF
RGBrgb(121, 56, 191)
HSLhsl(269, 55%, 48%)
HSVhsv(269, 71%, 75%)
CMYKcmyk(36.6%, 70.7%, 0%, 25.1%)
CIE-LABlab(38.99, 53.77, -59.85)
CIE-LCHlch(38.99, 80.46, 311.94°)
OKLaboklab(49.8% 0.1042 -0.1705)
OKLCHoklch(49.8% 0.2 301.4)
XYZxyz(18.7010, 10.6548, 50.3514)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7938BF #7EBF38
analogous
#383ABF #7938BF #BC38BF
triadic
#7938BF #BF7938 #38BF79
tetradic
#7938BF #BF383A #7EBF38 #38BFBC
square
#7938BF #BF383A #7EBF38 #38BFBC
split-complementary
#7938BF #BFBC38 #3ABF38
monochromatic
#3D1C60 #5B2A90 #7938BF #9863D1 #B792DF

Accessibility & contrast

On white

6.71
#7938BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7938BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7938BF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7938BF#FFFFFF#000000##FFFFFF
##7938BF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#6A5878
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7938bf;
/* rgb */ color: rgb(121, 56, 191);
/* oklch */ color: oklch(49.8% 0.200 301.4);
Tailwind
colors: {
  custom: {
    50: '#a574d3',
    500: '#7938bf',
    950: '#000000',
  },
}
SCSS
$custom: #7938bf;
$custom-light: #a574d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7938bf",
  "rgb": {
    "r": 121,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 268.889,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.19985,
    "h": 301.4
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#7938BF
secondary
#ABCA89
accent
#DE4A97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7938BF

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

Preview Lab → · Contrast checker → · Palette generator →

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