#7045CA#7045CA

#7045CA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.195 H 293.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7045CA
RGBrgb(112, 69, 202)
HSLhsl(259, 56%, 53%)
HSVhsv(259, 66%, 79%)
CMYKcmyk(44.6%, 65.8%, 0%, 20.8%)
CIE-LABlab(41.16, 48.36, -62.78)
CIE-LCHlch(41.16, 79.24, 307.61°)
OKLaboklab(51.37% 0.0767 -0.1795)
OKLCHoklch(51.37% 0.195 293.1)
XYZxyz(19.4680, 11.9647, 57.1493)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045CA #9FCA45
analogous
#455CCA #7045CA #B245CA
triadic
#7045CA #CA7045 #45CA70
tetradic
#7045CA #CA455C #9FCA45 #45CAB2
square
#7045CA #CA455C #9FCA45 #45CAB2
split-complementary
#7045CA #CAB245 #5CCA45
monochromatic
#3C2174 #542FA3 #7045CA #9575D8 #B9A4E5

Accessibility & contrast

On white

6.19
#7045CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7045CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045CA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045CA#FFFFFF#000000##FFFFFF
##7045CA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#566582
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7045ca;
/* rgb */ color: rgb(112, 69, 202);
/* oklch */ color: oklch(51.4% 0.195 293.1);
Tailwind
colors: {
  custom: {
    50: '#a07bdb',
    500: '#7045ca',
    950: '#000000',
  },
}
SCSS
$custom: #7045ca;
$custom-light: #a07bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7045ca",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 259.398,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51374,
    "c": 0.19523,
    "h": 293.1
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#7045CA
secondary
#C0D299
accent
#DF49AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #7045CA

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

Preview Lab → · Contrast checker → · Palette generator →

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