#7045D0#7045D0

#7045D0 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.8% C 0.202 H 292.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7045D0
RGBrgb(112, 69, 208)
HSLhsl(259, 60%, 54%)
HSVhsv(259, 67%, 82%)
CMYKcmyk(46.2%, 66.8%, 0%, 18.4%)
CIE-LABlab(41.62, 49.99, -65.50)
CIE-LCHlch(41.62, 82.40, 307.35°)
OKLaboklab(51.85% 0.0759 -0.1875)
OKLCHoklch(51.85% 0.202 292)
XYZxyz(20.1922, 12.2544, 60.9637)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045D0 #A5D045
analogous
#4560D0 #7045D0 #B645D0
triadic
#7045D0 #D07045 #45D070
tetradic
#7045D0 #D04560 #A5D045 #45D0B6
square
#7045D0 #D04560 #A5D045 #45D0B6
split-complementary
#7045D0 #D0B645 #60D045
monochromatic
#3C1F7B #532CAC #7045D0 #9676DC #BBA7E9

Accessibility & contrast

On white

6.09
#7045D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7045D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045D0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045D0#FFFFFF#000000##FFFFFF
##7045D01.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D4
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#536785
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7045d0;
/* rgb */ color: rgb(112, 69, 208);
/* oklch */ color: oklch(51.8% 0.202 292.0);
Tailwind
colors: {
  custom: {
    50: '#a17bdf',
    500: '#7045d0',
    950: '#000000',
  },
}
SCSS
$custom: #7045d0;
$custom-light: #a17bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7045d0",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 258.561,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.20231,
    "h": 292
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#7045D0
secondary
#C4D69B
accent
#E345B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7045D0

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

Preview Lab → · Contrast checker → · Palette generator →

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