#7245E8#7245E8

#7245E8 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.230 H 288.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7245E8
RGBrgb(114, 69, 232)
HSLhsl(257, 78%, 59%)
HSVhsv(257, 70%, 91%)
CMYKcmyk(50.9%, 70.3%, 0%, 9%)
CIE-LABlab(43.74, 56.89, -75.74)
CIE-LCHlch(43.74, 94.73, 306.91°)
OKLaboklab(54.01% 0.0746 -0.2175)
OKLCHoklch(54.01% 0.23 288.9)
XYZxyz(23.6288, 13.6588, 77.7197)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245E8 #BBE845
analogous
#456AE8 #7245E8 #C345E8
triadic
#7245E8 #E87245 #45E872
tetradic
#7245E8 #E8456A #BBE845 #45E8C3
square
#7245E8 #E8456A #BBE845 #45E8C3
split-complementary
#7245E8 #E8C345 #6AE845
monochromatic
#3A149F #4E1AD5 #7245E8 #9B7BEF #C5B2F5

Accessibility & contrast

On white

5.63
#7245E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7245E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245E8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245E8#FFFFFF#000000##FFFFFF
##7245E81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#477092
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7245e8;
/* rgb */ color: rgb(114, 69, 232);
/* oklch */ color: oklch(54.0% 0.230 288.9);
Tailwind
colors: {
  custom: {
    50: '#a57cf0',
    500: '#7245e8',
    950: '#000000',
  },
}
SCSS
$custom: #7245e8;
$custom-light: #a57cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#7245e8",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 256.564,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54005,
    "c": 0.22998,
    "h": 288.9
  },
  "luminance": 0.1366
}

Semantic roles & 50–950 ramp

primary
#7245E8
secondary
#D3E4A4
accent
#F433BF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7245E8

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

Preview Lab → · Contrast checker → · Palette generator →

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