#7045DE#7045DE

#7045DE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.219 H 289.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7045DE
RGBrgb(112, 69, 222)
HSLhsl(257, 70%, 57%)
HSVhsv(257, 69%, 87%)
CMYKcmyk(49.5%, 68.9%, 0%, 12.9%)
CIE-LABlab(42.72, 53.83, -71.73)
CIE-LCHlch(42.72, 89.68, 306.89°)
OKLaboklab(52.98% 0.0737 -0.2058)
OKLCHoklch(52.98% 0.219 289.7)
XYZxyz(21.9912, 12.9740, 70.4386)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045DE #B3DE45
analogous
#4566DE #7045DE #BD45DE
triadic
#7045DE #DE7045 #45DE70
tetradic
#7045DE #DE4566 #B3DE45 #45DEBD
square
#7045DE #DE4566 #B3DE45 #45DEBD
split-complementary
#7045DE #DEBD45 #66DE45
monochromatic
#3B198F #5023C3 #7045DE #9879E7 #C0ADF0

Accessibility & contrast

On white

5.84
#7045DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7045DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045DE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045DE#FFFFFF#000000##FFFFFF
##7045DE1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#0061DB
Tritanopia (blue-blind)
#4A6C8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7045de;
/* rgb */ color: rgb(112, 69, 222);
/* oklch */ color: oklch(53.0% 0.219 289.7);
Tailwind
colors: {
  custom: {
    50: '#a27ce9',
    500: '#7045de',
    950: '#000000',
  },
}
SCSS
$custom: #7045de;
$custom-light: #a27ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#7045de",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 256.863,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52983,
    "c": 0.21862,
    "h": 289.7
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#7045DE
secondary
#CDDFA0
accent
#ED3BBB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7045DE

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

Preview Lab → · Contrast checker → · Palette generator →

#7045DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva