#7045DD#7045DD

#7045DD is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.217 H 289.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7045DD
RGBrgb(112, 69, 221)
HSLhsl(257, 69%, 57%)
HSVhsv(257, 69%, 87%)
CMYKcmyk(49.3%, 68.8%, 0%, 13.3%)
CIE-LABlab(42.64, 53.56, -71.29)
CIE-LCHlch(42.64, 89.16, 306.92°)
OKLaboklab(52.9% 0.0739 -0.2045)
OKLCHoklch(52.9% 0.217 289.9)
XYZxyz(21.8576, 12.9205, 69.7348)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045DD #B2DD45
analogous
#4566DD #7045DD #BC45DD
triadic
#7045DD #DD7045 #45DD70
tetradic
#7045DD #DD4566 #B2DD45 #45DDBC
square
#7045DD #DD4566 #B2DD45 #45DDBC
split-complementary
#7045DD #DDBC45 #66DD45
monochromatic
#3B1A8E #5023C1 #7045DD #9879E6 #C0ACF0

Accessibility & contrast

On white

5.86
#7045DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7045DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045DD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045DD#FFFFFF#000000##FFFFFF
##7045DD1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#0061DA
Tritanopia (blue-blind)
#4B6C8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7045dd;
/* rgb */ color: rgb(112, 69, 221);
/* oklch */ color: oklch(52.9% 0.217 289.9);
Tailwind
colors: {
  custom: {
    50: '#a27ce9',
    500: '#7045dd',
    950: '#000000',
  },
}
SCSS
$custom: #7045dd;
$custom-light: #a27ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#7045dd",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 256.974,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.529,
    "c": 0.21746,
    "h": 289.9
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#7045DD
secondary
#CCDEA0
accent
#EC3CBA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7045DD

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

Preview Lab → · Contrast checker → · Palette generator →

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