#7245CA#7245CA

#7245CA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.195 H 294.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7245CA
RGBrgb(114, 69, 202)
HSLhsl(260, 56%, 53%)
HSVhsv(260, 66%, 79%)
CMYKcmyk(43.6%, 65.8%, 0%, 20.8%)
CIE-LABlab(41.37, 48.74, -62.43)
CIE-LCHlch(41.37, 79.20, 307.98°)
OKLaboklab(51.58% 0.0795 -0.1784)
OKLCHoklch(51.58% 0.195 294)
XYZxyz(19.7253, 12.0974, 57.1614)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245CA #9DCA45
analogous
#455ACA #7245CA #B545CA
triadic
#7245CA #CA7245 #45CA72
tetradic
#7245CA #CA455A #9DCA45 #45CAB5
square
#7245CA #CA455A #9DCA45 #45CAB5
split-complementary
#7245CA #CAB545 #5ACA45
monochromatic
#3D2174 #562FA3 #7245CA #9675D8 #BAA4E5

Accessibility & contrast

On white

6.14
#7245CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7245CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245CA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245CA#FFFFFF#000000##FFFFFF
##7245CA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#5A6582
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7245ca;
/* rgb */ color: rgb(114, 69, 202);
/* oklch */ color: oklch(51.6% 0.195 294.0);
Tailwind
colors: {
  custom: {
    50: '#a17bdb',
    500: '#7245ca',
    950: '#000000',
  },
}
SCSS
$custom: #7245ca;
$custom-light: #a17bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7245ca",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 260.301,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.19533,
    "h": 294
  },
  "luminance": 0.12098
}

Semantic roles & 50–950 ramp

primary
#7245CA
secondary
#BFD299
accent
#DF49AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7245CA

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

Preview Lab → · Contrast checker → · Palette generator →

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