#7245CC#7245CC

#7245CC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.198 H 293.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7245CC
RGBrgb(114, 69, 204)
HSLhsl(260, 57%, 54%)
HSVhsv(260, 66%, 80%)
CMYKcmyk(44.1%, 66.2%, 0%, 20%)
CIE-LABlab(41.52, 49.28, -63.34)
CIE-LCHlch(41.52, 80.25, 307.88°)
OKLaboklab(51.73% 0.0792 -0.1811)
OKLCHoklch(51.73% 0.198 293.6)
XYZxyz(19.9637, 12.1927, 58.4166)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245CC #9FCC45
analogous
#455BCC #7245CC #B545CC
triadic
#7245CC #CC7245 #45CC72
tetradic
#7245CC #CC455B #9FCC45 #45CCB5
square
#7245CC #CC455B #9FCC45 #45CCB5
split-complementary
#7245CC #CCB545 #5BCC45
monochromatic
#3D2076 #562EA6 #7245CC #9675D9 #BBA5E6

Accessibility & contrast

On white

6.11
#7245CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7245CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245CC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245CC#FFFFFF#000000##FFFFFF
##7245CC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#596583
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7245cc;
/* rgb */ color: rgb(114, 69, 204);
/* oklch */ color: oklch(51.7% 0.198 293.6);
Tailwind
colors: {
  custom: {
    50: '#a17bdc',
    500: '#7245cc',
    950: '#000000',
  },
}
SCSS
$custom: #7245cc;
$custom-light: #a17bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7245cc",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 260,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5173,
    "c": 0.19767,
    "h": 293.6
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

primary
#7245CC
secondary
#C0D399
accent
#E048AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7245CC

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

Preview Lab → · Contrast checker → · Palette generator →

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