#7245C3#7245C3

#7245C3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.187 H 295.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7245C3
RGBrgb(114, 69, 195)
HSLhsl(261, 51%, 52%)
HSVhsv(261, 65%, 76%)
CMYKcmyk(41.5%, 64.6%, 0%, 23.5%)
CIE-LABlab(40.85, 46.86, -59.20)
CIE-LCHlch(40.85, 75.50, 308.36°)
OKLaboklab(51.04% 0.0803 -0.1689)
OKLCHoklch(51.04% 0.187 295.4)
XYZxyz(18.9153, 11.7734, 52.8951)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245C3 #96C345
analogous
#4557C3 #7245C3 #B145C3
triadic
#7245C3 #C37245 #45C372
tetradic
#7245C3 #C34557 #96C345 #45C3B1
square
#7245C3 #C34557 #96C345 #45C3B1
split-complementary
#7245C3 #C3B145 #57C345
monochromatic
#3C236B #573199 #7245C3 #9573D2 #B8A2E1

Accessibility & contrast

On white

6.26
#7245C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7245C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245C3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245C3#FFFFFF#000000##FFFFFF
##7245C31.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#5D627E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7245c3;
/* rgb */ color: rgb(114, 69, 195);
/* oklch */ color: oklch(51.0% 0.187 295.4);
Tailwind
colors: {
  custom: {
    50: '#a07bd6',
    500: '#7245c3',
    950: '#000000',
  },
}
SCSS
$custom: #7245c3;
$custom-light: #a07bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7245c3",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 261.429,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51039,
    "c": 0.18704,
    "h": 295.4
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#7245C3
secondary
#BACE96
accent
#DB4DA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7245C3

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

Preview Lab → · Contrast checker → · Palette generator →

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