#7245C8#7245C8

#7245C8 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.193 H 294.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7245C8
RGBrgb(114, 69, 200)
HSLhsl(261, 54%, 53%)
HSVhsv(261, 66%, 78%)
CMYKcmyk(43%, 65.5%, 0%, 21.6%)
CIE-LABlab(41.22, 48.20, -61.51)
CIE-LCHlch(41.22, 78.15, 308.08°)
OKLaboklab(51.42% 0.0797 -0.1757)
OKLCHoklch(51.42% 0.193 294.4)
XYZxyz(19.4901, 12.0033, 55.9224)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245C8 #9BC845
analogous
#4559C8 #7245C8 #B445C8
triadic
#7245C8 #C87245 #45C872
tetradic
#7245C8 #C84559 #9BC845 #45C8B4
square
#7245C8 #C84559 #9BC845 #45C8B4
split-complementary
#7245C8 #C8B445 #59C845
monochromatic
#3D2171 #562FA0 #7245C8 #9674D6 #BAA3E4

Accessibility & contrast

On white

6.18
#7245C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7245C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245C8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245C8#FFFFFF#000000##FFFFFF
##7245C81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7245c8;
/* rgb */ color: rgb(114, 69, 200);
/* oklch */ color: oklch(51.4% 0.193 294.4);
Tailwind
colors: {
  custom: {
    50: '#a17bda',
    500: '#7245c8',
    950: '#000000',
  },
}
SCSS
$custom: #7245c8;
$custom-light: #a17bda;
$custom-dark: #000000;
JSON
{
  "hex": "#7245c8",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 260.611,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5142,
    "c": 0.19296,
    "h": 294.4
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#7245C8
secondary
#BDD198
accent
#DE4AAB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7245C8

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

Preview Lab → · Contrast checker → · Palette generator →

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