#7245D9#7245D9

#7245D9 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.213 H 291.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7245D9
RGBrgb(114, 69, 217)
HSLhsl(258, 66%, 56%)
HSVhsv(258, 68%, 85%)
CMYKcmyk(47.5%, 68.2%, 0%, 14.9%)
CIE-LABlab(42.53, 52.80, -69.18)
CIE-LCHlch(42.53, 87.03, 307.35°)
OKLaboklab(52.76% 0.0773 -0.1983)
OKLCHoklch(52.76% 0.213 291.3)
XYZxyz(21.5884, 12.8426, 66.9736)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245D9 #ACD945
analogous
#4562D9 #7245D9 #BC45D9
triadic
#7245D9 #D97245 #45D972
tetradic
#7245D9 #D94562 #ACD945 #45D9BC
square
#7245D9 #D94562 #ACD945 #45D9BC
split-complementary
#7245D9 #D9BC45 #62D945
monochromatic
#3D1C88 #5326BB #7245D9 #9978E3 #BFABEE

Accessibility & contrast

On white

5.88
#7245D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7245D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245D9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245D9#FFFFFF#000000##FFFFFF
##7245D91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#516A8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7245d9;
/* rgb */ color: rgb(114, 69, 217);
/* oklch */ color: oklch(52.8% 0.213 291.3);
Tailwind
colors: {
  custom: {
    50: '#a37ce6',
    500: '#7245d9',
    950: '#000000',
  },
}
SCSS
$custom: #7245d9;
$custom-light: #a37ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7245d9",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 258.243,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.21283,
    "h": 291.3
  },
  "luminance": 0.12843
}

Semantic roles & 50–950 ramp

primary
#7245D9
secondary
#C9DB9E
accent
#E93FB5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7245D9

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

Preview Lab → · Contrast checker → · Palette generator →

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