#7038C3#7038C3

#7038C3 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.1% C 0.203 H 296.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7038C3
RGBrgb(112, 56, 195)
HSLhsl(264, 55%, 49%)
HSVhsv(264, 71%, 76%)
CMYKcmyk(42.6%, 71.3%, 0%, 23.5%)
CIE-LABlab(38.22, 53.12, -63.49)
CIE-LCHlch(38.22, 82.78, 309.92°)
OKLaboklab(49.1% 0.0907 -0.1816)
OKLCHoklch(49.1% 0.203 296.5)
XYZxyz(17.9440, 10.2128, 52.6450)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7038C3 #8BC338
analogous
#3846C3 #7038C3 #B638C3
triadic
#7038C3 #C37038 #38C370
tetradic
#7038C3 #C33846 #8BC338 #38C3B6
square
#7038C3 #C33846 #8BC338 #38C3B6
split-complementary
#7038C3 #C3B638 #46C338
monochromatic
#391D64 #552A93 #7038C3 #9165D3 #B395E1

Accessibility & contrast

On white

6.90
#7038C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7038C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7038C3
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7038C3#FFFFFF#000000##FFFFFF
##7038C31.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#5A5B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7038c3;
/* rgb */ color: rgb(112, 56, 195);
/* oklch */ color: oklch(49.1% 0.203 296.5);
Tailwind
colors: {
  custom: {
    50: '#a073d6',
    500: '#7038c3',
    950: '#000000',
  },
}
SCSS
$custom: #7038c3;
$custom-light: #a073d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7038c3",
  "rgb": {
    "r": 112,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 264.173,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49104,
    "c": 0.20297,
    "h": 296.5
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#7038C3
secondary
#B2CC8B
accent
#DF49A2
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7038C3

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

Preview Lab → · Contrast checker → · Palette generator →

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