#7038C1#7038C1

#7038C1 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.201 H 297.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7038C1
RGBrgb(112, 56, 193)
HSLhsl(265, 55%, 49%)
HSVhsv(265, 71%, 76%)
CMYKcmyk(42%, 71%, 0%, 24.3%)
CIE-LABlab(38.06, 52.60, -62.58)
CIE-LCHlch(38.06, 81.75, 310.05°)
OKLaboklab(48.94% 0.0911 -0.1789)
OKLCHoklch(48.94% 0.201 297)
XYZxyz(17.7194, 10.1230, 51.4621)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7038C1 #89C138
analogous
#3844C1 #7038C1 #B538C1
triadic
#7038C1 #C17038 #38C170
tetradic
#7038C1 #C13844 #89C138 #38C1B5
square
#7038C1 #C13844 #89C138 #38C1B5
split-complementary
#7038C1 #C1B538 #44C138
monochromatic
#391C62 #542A92 #7038C1 #9164D2 #B394E0

Accessibility & contrast

On white

6.94
#7038C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7038C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7038C1
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7038C1#FFFFFF#000000##FFFFFF
##7038C11.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#5B5A79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7038c1;
/* rgb */ color: rgb(112, 56, 193);
/* oklch */ color: oklch(48.9% 0.201 297.0);
Tailwind
colors: {
  custom: {
    50: '#a073d5',
    500: '#7038c1',
    950: '#000000',
  },
}
SCSS
$custom: #7038c1;
$custom-light: #a073d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7038c1",
  "rgb": {
    "r": 112,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 264.526,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.20076,
    "h": 297
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#7038C1
secondary
#B0CB8A
accent
#DE49A1
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #7038C1

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

Preview Lab → · Contrast checker → · Palette generator →

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