#7245C4#7245C4

#7245C4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.188 H 295.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7245C4
RGBrgb(114, 69, 196)
HSLhsl(261, 52%, 52%)
HSVhsv(261, 65%, 77%)
CMYKcmyk(41.8%, 64.8%, 0%, 23.1%)
CIE-LABlab(40.93, 47.13, -59.66)
CIE-LCHlch(40.93, 76.03, 308.31°)
OKLaboklab(51.12% 0.0802 -0.1703)
OKLCHoklch(51.12% 0.188 295.2)
XYZxyz(19.0287, 11.8187, 53.4925)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245C4 #97C445
analogous
#4558C4 #7245C4 #B245C4
triadic
#7245C4 #C47245 #45C472
tetradic
#7245C4 #C44558 #97C445 #45C4B2
square
#7245C4 #C44558 #97C445 #45C4B2
split-complementary
#7245C4 #C4B245 #58C445
monochromatic
#3D226C #57319B #7245C4 #9573D3 #B8A2E1

Accessibility & contrast

On white

6.24
#7245C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7245C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245C4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245C4#FFFFFF#000000##FFFFFF
##7245C41.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#5C637E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7245c4;
/* rgb */ color: rgb(114, 69, 196);
/* oklch */ color: oklch(51.1% 0.188 295.2);
Tailwind
colors: {
  custom: {
    50: '#a17bd7',
    500: '#7245c4',
    950: '#000000',
  },
}
SCSS
$custom: #7245c4;
$custom-light: #a17bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7245c4",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 261.26,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.18822,
    "h": 295.2
  },
  "luminance": 0.11819
}

Semantic roles & 50–950 ramp

primary
#7245C4
secondary
#BACE97
accent
#DB4DA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7245C4

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

Preview Lab → · Contrast checker → · Palette generator →

#7245C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva