#7A45CF#7A45CF

#7A45CF is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.202 H 296.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7A45CF
RGBrgb(122, 69, 207)
HSLhsl(263, 59%, 54%)
HSVhsv(263, 67%, 81%)
CMYKcmyk(41.1%, 66.7%, 0%, 18.8%)
CIE-LABlab(42.61, 51.62, -63.26)
CIE-LCHlch(42.61, 81.65, 309.21°)
OKLaboklab(52.78% 0.0899 -0.1806)
OKLCHoklch(52.78% 0.202 296.4)
XYZxyz(21.4137, 12.8984, 60.3808)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45CF #9ACF45
analogous
#4555CF #7A45CF #BF45CF
triadic
#7A45CF #CF7A45 #45CF7A
tetradic
#7A45CF #CF4555 #9ACF45 #45CFBF
square
#7A45CF #CF4555 #9ACF45 #45CFBF
split-complementary
#7A45CF #CFBF45 #55CF45
monochromatic
#42207A #5D2CAB #7A45CF #9D76DC #C0A6E8

Accessibility & contrast

On white

5.87
#7A45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7A45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45CF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45CF#FFFFFF#000000##FFFFFF
##7A45CF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#646684
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a45cf;
/* rgb */ color: rgb(122, 69, 207);
/* oklch */ color: oklch(52.8% 0.202 296.4);
Tailwind
colors: {
  custom: {
    50: '#a77cdf',
    500: '#7a45cf',
    950: '#000000',
  },
}
SCSS
$custom: #7a45cf;
$custom-light: #a77cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45cf",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 263.043,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52781,
    "c": 0.20173,
    "h": 296.4
  },
  "luminance": 0.12899
}

Semantic roles & 50–950 ramp

primary
#7A45CF
secondary
#BFD59B
accent
#E246A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A45CF

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

Preview Lab → · Contrast checker → · Palette generator →

#7A45CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva