#7038C7#7038C7

#7038C7 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.207 H 295.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7038C7
RGBrgb(112, 56, 199)
HSLhsl(263, 56%, 50%)
HSVhsv(263, 72%, 78%)
CMYKcmyk(43.7%, 71.9%, 0%, 22%)
CIE-LABlab(38.54, 54.15, -65.30)
CIE-LCHlch(38.54, 84.83, 309.67°)
OKLaboklab(49.43% 0.0899 -0.1869)
OKLCHoklch(49.43% 0.207 295.7)
XYZxyz(18.4023, 10.3962, 55.0589)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7038C7 #8FC738
analogous
#3847C7 #7038C7 #B838C7
triadic
#7038C7 #C77038 #38C770
tetradic
#7038C7 #C73847 #8FC738 #38C7B8
square
#7038C7 #C73847 #8FC738 #38C7B8
split-complementary
#7038C7 #C7B838 #47C738
monochromatic
#3A1D67 #552B97 #7038C7 #9268D4 #B598E2

Accessibility & contrast

On white

6.82
#7038C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7038C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7038C7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7038C7#FFFFFF#000000##FFFFFF
##7038C71.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#585D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7038c7;
/* rgb */ color: rgb(112, 56, 199);
/* oklch */ color: oklch(49.4% 0.207 295.7);
Tailwind
colors: {
  custom: {
    50: '#a073d9',
    500: '#7038c7',
    950: '#000000',
  },
}
SCSS
$custom: #7038c7;
$custom-light: #a073d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7038c7",
  "rgb": {
    "r": 112,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 263.497,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.49433,
    "c": 0.20738,
    "h": 295.7
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#7038C7
secondary
#B4CD8D
accent
#DF48A4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7038C7

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

Preview Lab → · Contrast checker → · Palette generator →

#7038C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva