#7245C7#7245C7

#7245C7 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.192 H 294.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7245C7
RGBrgb(114, 69, 199)
HSLhsl(261, 54%, 53%)
HSVhsv(261, 65%, 78%)
CMYKcmyk(42.7%, 65.3%, 0%, 22%)
CIE-LABlab(41.15, 47.93, -61.05)
CIE-LCHlch(41.15, 77.62, 308.14°)
OKLaboklab(51.34% 0.0798 -0.1744)
OKLCHoklch(51.34% 0.192 294.6)
XYZxyz(19.3736, 11.9567, 55.3089)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245C7 #9AC745
analogous
#4559C7 #7245C7 #B345C7
triadic
#7245C7 #C77245 #45C772
tetradic
#7245C7 #C74559 #9AC745 #45C7B3
square
#7245C7 #C74559 #9AC745 #45C7B3
split-complementary
#7245C7 #C7B345 #59C745
monochromatic
#3D2270 #56309F #7245C7 #9674D5 #B9A3E3

Accessibility & contrast

On white

6.19
#7245C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7245C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245C7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245C7#FFFFFF#000000##FFFFFF
##7245C71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#5B6480
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7245c7;
/* rgb */ color: rgb(114, 69, 199);
/* oklch */ color: oklch(51.3% 0.192 294.6);
Tailwind
colors: {
  custom: {
    50: '#a17bd9',
    500: '#7245c7',
    950: '#000000',
  },
}
SCSS
$custom: #7245c7;
$custom-light: #a17bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7245c7",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 260.769,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51344,
    "c": 0.19178,
    "h": 294.6
  },
  "luminance": 0.11957
}

Semantic roles & 50–950 ramp

primary
#7245C7
secondary
#BDD098
accent
#DD4BAA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #7245C7

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

Preview Lab → · Contrast checker → · Palette generator →

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