#7045CE#7045CE

#7045CE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.200 H 292.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7045CE
RGBrgb(112, 69, 206)
HSLhsl(259, 58%, 54%)
HSVhsv(259, 67%, 81%)
CMYKcmyk(45.6%, 66.5%, 0%, 19.2%)
CIE-LABlab(41.46, 49.45, -64.60)
CIE-LCHlch(41.46, 81.35, 307.43°)
OKLaboklab(51.69% 0.0762 -0.1849)
OKLCHoklch(51.69% 0.2 292.4)
XYZxyz(19.9477, 12.1566, 59.6760)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045CE #A3CE45
analogous
#455FCE #7045CE #B545CE
triadic
#7045CE #CE7045 #45CE70
tetradic
#7045CE #CE455F #A3CE45 #45CEB5
square
#7045CE #CE455F #A3CE45 #45CEB5
split-complementary
#7045CE #CEB545 #5FCE45
monochromatic
#3C2079 #542DA9 #7045CE #9575DB #BAA6E8

Accessibility & contrast

On white

6.12
#7045CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7045CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045CE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045CE#FFFFFF#000000##FFFFFF
##7045CE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#546684
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7045ce;
/* rgb */ color: rgb(112, 69, 206);
/* oklch */ color: oklch(51.7% 0.200 292.4);
Tailwind
colors: {
  custom: {
    50: '#a07bde',
    500: '#7045ce',
    950: '#000000',
  },
}
SCSS
$custom: #7045ce;
$custom-light: #a07bde;
$custom-dark: #000000;
JSON
{
  "hex": "#7045ce",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 258.832,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.19996,
    "h": 292.4
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#7045CE
secondary
#C2D59A
accent
#E246B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7045CE

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

Preview Lab → · Contrast checker → · Palette generator →

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