#7245C1#7245C1

#7245C1 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.185 H 295.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7245C1
RGBrgb(114, 69, 193)
HSLhsl(262, 50%, 51%)
HSVhsv(262, 64%, 76%)
CMYKcmyk(40.9%, 64.2%, 0%, 24.3%)
CIE-LABlab(40.71, 46.32, -58.27)
CIE-LCHlch(40.71, 74.44, 308.49°)
OKLaboklab(50.89% 0.0804 -0.1662)
OKLCHoklch(50.89% 0.185 295.8)
XYZxyz(18.6907, 11.6835, 51.7121)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245C1 #94C145
analogous
#4556C1 #7245C1 #B045C1
triadic
#7245C1 #C17245 #45C172
tetradic
#7245C1 #C14556 #94C145 #45C1B0
square
#7245C1 #C14556 #94C145 #45C1B0
split-complementary
#7245C1 #C1B045 #56C145
monochromatic
#3C2369 #573297 #7245C1 #9573D0 #B8A1E0

Accessibility & contrast

On white

6.29
#7245C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7245C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245C1
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245C1#FFFFFF#000000##FFFFFF
##7245C11.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#5E627D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7245c1;
/* rgb */ color: rgb(114, 69, 193);
/* oklch */ color: oklch(50.9% 0.185 295.8);
Tailwind
colors: {
  custom: {
    50: '#a07bd5',
    500: '#7245c1',
    950: '#000000',
  },
}
SCSS
$custom: #7245c1;
$custom-light: #a07bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7245c1",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 261.774,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50889,
    "c": 0.18465,
    "h": 295.8
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#7245C1
secondary
#B8CC96
accent
#DA4EA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7245C1

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

Preview Lab → · Contrast checker → · Palette generator →

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