#7045DF#7045DF

#7045DF is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.220 H 289.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7045DF
RGBrgb(112, 69, 223)
HSLhsl(257, 71%, 57%)
HSVhsv(257, 69%, 87%)
CMYKcmyk(49.8%, 69.1%, 0%, 12.5%)
CIE-LABlab(42.81, 54.11, -72.16)
CIE-LCHlch(42.81, 90.20, 306.86°)
OKLaboklab(53.07% 0.0735 -0.2071)
OKLCHoklch(53.07% 0.22 289.5)
XYZxyz(22.1257, 13.0278, 71.1465)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045DF #B4DF45
analogous
#4567DF #7045DF #BD45DF
triadic
#7045DF #DF7045 #45DF70
tetradic
#7045DF #DF4567 #B4DF45 #45DFBD
square
#7045DF #DF4567 #B4DF45 #45DFBD
split-complementary
#7045DF #DFBD45 #67DF45
monochromatic
#3A1991 #4F22C5 #7045DF #9879E8 #C0ADF1

Accessibility & contrast

On white

5.82
#7045DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7045DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045DF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045DF#FFFFFF#000000##FFFFFF
##7045DF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#496D8D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7045df;
/* rgb */ color: rgb(112, 69, 223);
/* oklch */ color: oklch(53.1% 0.220 289.5);
Tailwind
colors: {
  custom: {
    50: '#a37cea',
    500: '#7045df',
    950: '#000000',
  },
}
SCSS
$custom: #7045df;
$custom-light: #a37cea;
$custom-dark: #000000;
JSON
{
  "hex": "#7045df",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 256.753,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53066,
    "c": 0.21976,
    "h": 289.5
  },
  "luminance": 0.13029
}

Semantic roles & 50–950 ramp

primary
#7045DF
secondary
#CEDFA1
accent
#ED3ABB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7045DF

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

Preview Lab → · Contrast checker → · Palette generator →

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