#7038BE#7038BE

#7038BE is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.197 H 297.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7038BE
RGBrgb(112, 56, 190)
HSLhsl(265, 54%, 48%)
HSVhsv(265, 71%, 75%)
CMYKcmyk(41.1%, 70.5%, 0%, 25.5%)
CIE-LABlab(37.83, 51.83, -61.21)
CIE-LCHlch(37.83, 80.21, 310.26°)
OKLaboklab(48.7% 0.0917 -0.1749)
OKLCHoklch(48.7% 0.197 297.7)
XYZxyz(17.3881, 9.9905, 49.7175)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7038BE #86BE38
analogous
#3843BE #7038BE #B338BE
triadic
#7038BE #BE7038 #38BE70
tetradic
#7038BE #BE3843 #86BE38 #38BEB3
square
#7038BE #BE3843 #86BE38 #38BEB3
split-complementary
#7038BE #BEB338 #43BE38
monochromatic
#381C5F #542A8F #7038BE #9162D1 #B292DF

Accessibility & contrast

On white

7.00
#7038BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7038BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7038BE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7038BE#FFFFFF#000000##FFFFFF
##7038BE1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#5D5977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7038be;
/* rgb */ color: rgb(112, 56, 190);
/* oklch */ color: oklch(48.7% 0.197 297.7);
Tailwind
colors: {
  custom: {
    50: '#9f73d3',
    500: '#7038be',
    950: '#000000',
  },
}
SCSS
$custom: #7038be;
$custom-light: #9f73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7038be",
  "rgb": {
    "r": 112,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 265.075,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48699,
    "c": 0.19744,
    "h": 297.7
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#7038BE
secondary
#AECA88
accent
#DE4AA0
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #7038BE

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

Preview Lab → · Contrast checker → · Palette generator →

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