#7038AE#7038AE

#7038AE is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.180 H 301.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7038AE
RGBrgb(112, 56, 174)
HSLhsl(268, 51%, 45%)
HSVhsv(268, 68%, 68%)
CMYKcmyk(35.6%, 67.8%, 0%, 31.8%)
CIE-LABlab(36.61, 47.77, -53.73)
CIE-LCHlch(36.61, 71.89, 311.64°)
OKLaboklab(47.45% 0.0942 -0.1529)
OKLCHoklch(47.45% 0.18 301.6)
XYZxyz(15.7344, 9.3290, 41.0079)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7038AE #76AE38
analogous
#383BAE #7038AE #AB38AE
triadic
#7038AE #AE7038 #38AE70
tetradic
#7038AE #AE383B #76AE38 #38AEAB
square
#7038AE #AE383B #76AE38 #38AEAB
split-complementary
#7038AE #AEAB38 #3BAE38
monochromatic
#341A51 #522980 #7038AE #8F59CA #AE88D9

Accessibility & contrast

On white

7.33
#7038AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7038AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7038AE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7038AE#FFFFFF#000000##FFFFFF
##7038AE1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#63536E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7038ae;
/* rgb */ color: rgb(112, 56, 174);
/* oklch */ color: oklch(47.4% 0.180 301.6);
Tailwind
colors: {
  custom: {
    50: '#9e73c7',
    500: '#7038ae',
    950: '#000000',
  },
}
SCSS
$custom: #7038ae;
$custom-light: #9e73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7038ae",
  "rgb": {
    "r": 112,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 268.475,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.17954,
    "h": 301.6
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#7038AE
secondary
#A3C37F
accent
#DB4D98
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7038AE

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

Preview Lab → · Contrast checker → · Palette generator →

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