#7045FB#7045FB

#7045FB is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.5% C 0.251 H 285.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7045FB
RGBrgb(112, 69, 251)
HSLhsl(254, 96%, 63%)
HSVhsv(254, 73%, 98%)
CMYKcmyk(55.4%, 72.5%, 0%, 1.6%)
CIE-LABlab(45.17, 61.81, -84.09)
CIE-LCHlch(45.17, 104.36, 306.32°)
OKLaboklab(55.47% 0.0679 -0.242)
OKLCHoklch(55.47% 0.251 285.7)
XYZxyz(26.2175, 14.6645, 92.6971)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045FB #D0FB45
analogous
#4575FB #7045FB #CB45FB
triadic
#7045FB #FB7045 #45FB70
tetradic
#7045FB #FB4575 #D0FB45 #45FBCB
square
#7045FB #FB4575 #D0FB45 #45FBCB
split-complementary
#7045FB #FBCB45 #75FB45
monochromatic
#3104C1 #4209FA #7045FB #9E81FC #CCBDFE

Accessibility & contrast

On white

5.34
#7045FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7045FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045FB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045FB#FFFFFF#000000##FFFFFF
##7045FB1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0065F8
Tritanopia (blue-blind)
#2D779D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7045fb;
/* rgb */ color: rgb(112, 69, 251);
/* oklch */ color: oklch(55.5% 0.251 285.7);
Tailwind
colors: {
  custom: {
    50: '#a67dfe',
    500: '#7045fb',
    950: '#000000',
  },
}
SCSS
$custom: #7045fb;
$custom-light: #a67dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7045fb",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 251
  },
  "hsl": {
    "h": 254.176,
    "s": 95.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5547,
    "c": 0.25138,
    "h": 285.7
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

primary
#7045FB
secondary
#DFEFAD
accent
#E600AF
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7045FB

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

Preview Lab → · Contrast checker → · Palette generator →

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