#7045C8#7045C8

#7045C8 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.193 H 293.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7045C8
RGBrgb(112, 69, 200)
HSLhsl(260, 54%, 53%)
HSVhsv(260, 66%, 78%)
CMYKcmyk(44%, 65.5%, 0%, 21.6%)
CIE-LABlab(41.01, 47.81, -61.86)
CIE-LCHlch(41.01, 78.18, 307.70°)
OKLaboklab(51.22% 0.077 -0.1768)
OKLCHoklch(51.22% 0.193 293.5)
XYZxyz(19.2327, 11.8706, 55.9103)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045C8 #9DC845
analogous
#455BC8 #7045C8 #B245C8
triadic
#7045C8 #C87045 #45C870
tetradic
#7045C8 #C8455B #9DC845 #45C8B2
square
#7045C8 #C8455B #9DC845 #45C8B2
split-complementary
#7045C8 #C8B245 #5BC845
monochromatic
#3C2171 #542FA0 #7045C8 #9474D6 #B9A3E4

Accessibility & contrast

On white

6.22
#7045C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7045C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045C8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045C8#FFFFFF#000000##FFFFFF
##7045C81.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#576480
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7045c8;
/* rgb */ color: rgb(112, 69, 200);
/* oklch */ color: oklch(51.2% 0.193 293.5);
Tailwind
colors: {
  custom: {
    50: '#a07bda',
    500: '#7045c8',
    950: '#000000',
  },
}
SCSS
$custom: #7045c8;
$custom-light: #a07bda;
$custom-dark: #000000;
JSON
{
  "hex": "#7045c8",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 259.695,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.19286,
    "h": 293.5
  },
  "luminance": 0.11871
}

Semantic roles & 50–950 ramp

primary
#7045C8
secondary
#BED198
accent
#DE4AAD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #7045C8

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

Preview Lab → · Contrast checker → · Palette generator →

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