#7245E9#7245E9

#7245E9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.231 H 288.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7245E9
RGBrgb(114, 69, 233)
HSLhsl(256, 79%, 59%)
HSVhsv(256, 70%, 91%)
CMYKcmyk(51.1%, 70.4%, 0%, 8.6%)
CIE-LABlab(43.82, 57.17, -76.17)
CIE-LCHlch(43.82, 95.24, 306.89°)
OKLaboklab(54.09% 0.0744 -0.2188)
OKLCHoklch(54.09% 0.231 288.8)
XYZxyz(23.7712, 13.7157, 78.4699)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245E9 #BCE945
analogous
#456AE9 #7245E9 #C445E9
triadic
#7245E9 #E97245 #45E972
tetradic
#7245E9 #E9456A #BCE945 #45E9C4
square
#7245E9 #E9456A #BCE945 #45E9C4
split-complementary
#7245E9 #E9C445 #6AE945
monochromatic
#3A13A1 #4E19D7 #7245E9 #9B7CEF #C5B2F6

Accessibility & contrast

On white

5.61
#7245E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7245E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245E9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245E9#FFFFFF#000000##FFFFFF
##7245E91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#467092
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7245e9;
/* rgb */ color: rgb(114, 69, 233);
/* oklch */ color: oklch(54.1% 0.231 288.8);
Tailwind
colors: {
  custom: {
    50: '#a57cf1',
    500: '#7245e9',
    950: '#000000',
  },
}
SCSS
$custom: #7245e9;
$custom-light: #a57cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7245e9",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 233
  },
  "hsl": {
    "h": 256.463,
    "s": 78.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.23111,
    "h": 288.8
  },
  "luminance": 0.13717
}

Semantic roles & 50–950 ramp

primary
#7245E9
secondary
#D3E5A5
accent
#F532C0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7245E9

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

Preview Lab → · Contrast checker → · Palette generator →

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