#7038CD#7038CD

#7038CD is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.214 H 294.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7038CD
RGBrgb(112, 56, 205)
HSLhsl(263, 60%, 51%)
HSVhsv(263, 73%, 80%)
CMYKcmyk(45.4%, 72.7%, 0%, 19.6%)
CIE-LABlab(39.04, 55.70, -67.98)
CIE-LCHlch(39.04, 87.89, 309.33°)
OKLaboklab(49.93% 0.0886 -0.1947)
OKLCHoklch(49.93% 0.214 294.5)
XYZxyz(19.1127, 10.6803, 58.8003)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7038CD #95CD38
analogous
#384ACD #7038CD #BA38CD
triadic
#7038CD #CD7038 #38CD70
tetradic
#7038CD #CD384A #95CD38 #38CDBA
square
#7038CD #CD384A #95CD38 #38CDBA
split-complementary
#7038CD #CDBA38 #4ACD38
monochromatic
#3B1C6F #5528A0 #7038CD #9369D9 #B69AE6

Accessibility & contrast

On white

6.70
#7038CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7038CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7038CD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7038CD#FFFFFF#000000##FFFFFF
##7038CD1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#555F7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7038cd;
/* rgb */ color: rgb(112, 56, 205);
/* oklch */ color: oklch(49.9% 0.214 294.5);
Tailwind
colors: {
  custom: {
    50: '#a174dd',
    500: '#7038cd',
    950: '#000000',
  },
}
SCSS
$custom: #7038cd;
$custom-light: #a174dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7038cd",
  "rgb": {
    "r": 112,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 262.55,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49933,
    "c": 0.21397,
    "h": 294.5
  },
  "luminance": 0.10681
}

Semantic roles & 50–950 ramp

primary
#7038CD
secondary
#B9D18F
accent
#E345A8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7038CD

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

Preview Lab → · Contrast checker → · Palette generator →

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