#7038C5#7038C5

#7038C5 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.205 H 296.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7038C5
RGBrgb(112, 56, 197)
HSLhsl(264, 56%, 50%)
HSVhsv(264, 72%, 77%)
CMYKcmyk(43.1%, 71.6%, 0%, 22.7%)
CIE-LABlab(38.38, 53.63, -64.39)
CIE-LCHlch(38.38, 83.81, 309.79°)
OKLaboklab(49.27% 0.0903 -0.1842)
OKLCHoklch(49.27% 0.205 296.1)
XYZxyz(18.1716, 10.3039, 53.8439)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7038C5 #8DC538
analogous
#3846C5 #7038C5 #B738C5
triadic
#7038C5 #C57038 #38C570
tetradic
#7038C5 #C53846 #8DC538 #38C5B7
square
#7038C5 #C53846 #8DC538 #38C5B7
split-complementary
#7038C5 #C5B738 #46C538
monochromatic
#3A1D66 #552A95 #7038C5 #9267D4 #B496E1

Accessibility & contrast

On white

6.86
#7038C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7038C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7038C5
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7038C5#FFFFFF#000000##FFFFFF
##7038C51.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#595C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7038c5;
/* rgb */ color: rgb(112, 56, 197);
/* oklch */ color: oklch(49.3% 0.205 296.1);
Tailwind
colors: {
  custom: {
    50: '#a073d8',
    500: '#7038c5',
    950: '#000000',
  },
}
SCSS
$custom: #7038c5;
$custom-light: #a073d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7038c5",
  "rgb": {
    "r": 112,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 263.83,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49268,
    "c": 0.20518,
    "h": 296.1
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#7038C5
secondary
#B3CD8C
accent
#DF49A3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7038C5

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

Preview Lab → · Contrast checker → · Palette generator →

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