#7045FC#7045FC

#7045FC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.6% C 0.253 H 285.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7045FC
RGBrgb(112, 69, 252)
HSLhsl(254, 97%, 63%)
HSVhsv(254, 73%, 99%)
CMYKcmyk(55.6%, 72.6%, 0%, 1.2%)
CIE-LABlab(45.26, 62.08, -84.50)
CIE-LCHlch(45.26, 104.86, 306.31°)
OKLaboklab(55.56% 0.0676 -0.2433)
OKLCHoklch(55.56% 0.253 285.5)
XYZxyz(26.3756, 14.7277, 93.5295)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045FC #D1FC45
analogous
#4576FC #7045FC #CB45FC
triadic
#7045FC #FC7045 #45FC70
tetradic
#7045FC #FC4576 #D1FC45 #45FCCB
square
#7045FC #FC4576 #D1FC45 #45FCCB
split-complementary
#7045FC #FCCB45 #76FC45
monochromatic
#3003C3 #4209FB #7045FC #9E81FD #CDBDFE

Accessibility & contrast

On white

5.32
#7045FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7045FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045FC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045FC#FFFFFF#000000##FFFFFF
##7045FC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0066F9
Tritanopia (blue-blind)
#2C789D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7045fc;
/* rgb */ color: rgb(112, 69, 252);
/* oklch */ color: oklch(55.6% 0.253 285.5);
Tailwind
colors: {
  custom: {
    50: '#a67dff',
    500: '#7045fc',
    950: '#000000',
  },
}
SCSS
$custom: #7045fc;
$custom-light: #a67dff;
$custom-dark: #000000;
JSON
{
  "hex": "#7045fc",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 252
  },
  "hsl": {
    "h": 254.098,
    "s": 96.825,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.2525,
    "h": 285.5
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#7045FC
secondary
#E0EFAD
accent
#E600B0
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7045FC

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

Preview Lab → · Contrast checker → · Palette generator →

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