#7045CF#7045CF

#7045CF is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.201 H 292.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7045CF
RGBrgb(112, 69, 207)
HSLhsl(259, 59%, 54%)
HSVhsv(259, 67%, 81%)
CMYKcmyk(45.9%, 66.7%, 0%, 18.8%)
CIE-LABlab(41.54, 49.72, -65.05)
CIE-LCHlch(41.54, 81.88, 307.39°)
OKLaboklab(51.77% 0.0761 -0.1862)
OKLCHoklch(51.77% 0.201 292.2)
XYZxyz(20.0696, 12.2053, 60.3178)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045CF #A4CF45
analogous
#455FCF #7045CF #B545CF
triadic
#7045CF #CF7045 #45CF70
tetradic
#7045CF #CF455F #A4CF45 #45CFB5
square
#7045CF #CF455F #A4CF45 #45CFB5
split-complementary
#7045CF #CFB545 #5FCF45
monochromatic
#3C207A #542CAB #7045CF #9576DC #BBA6E8

Accessibility & contrast

On white

6.10
#7045CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7045CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045CF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045CF#FFFFFF#000000##FFFFFF
##7045CF1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#536784
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7045cf;
/* rgb */ color: rgb(112, 69, 207);
/* oklch */ color: oklch(51.8% 0.201 292.2);
Tailwind
colors: {
  custom: {
    50: '#a17bdf',
    500: '#7045cf',
    950: '#000000',
  },
}
SCSS
$custom: #7045cf;
$custom-light: #a17bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7045cf",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 258.696,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.20114,
    "h": 292.2
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7045CF

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

Preview Lab → · Contrast checker → · Palette generator →

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