#7245E1#7245E1

#7245E1 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.222 H 290.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7245E1
RGBrgb(114, 69, 225)
HSLhsl(257, 72%, 58%)
HSVhsv(257, 69%, 88%)
CMYKcmyk(49.3%, 69.3%, 0%, 11.8%)
CIE-LABlab(43.17, 54.98, -72.70)
CIE-LCHlch(43.17, 91.15, 307.10°)
OKLaboklab(53.42% 0.0759 -0.2086)
OKLCHoklch(53.42% 0.222 290)
XYZxyz(22.6543, 13.2690, 72.5871)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245E1 #B4E145
analogous
#4566E1 #7245E1 #C045E1
triadic
#7245E1 #E17245 #45E172
tetradic
#7245E1 #E14566 #B4E145 #45E1C0
square
#7245E1 #E14566 #B4E145 #45E1C0
split-complementary
#7245E1 #E1C045 #66E145
monochromatic
#3C1894 #5120C8 #7245E1 #9A7AE9 #C2AEF2

Accessibility & contrast

On white

5.75
#7245E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7245E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245E1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245E1#FFFFFF#000000##FFFFFF
##7245E11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#4C6D8E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7245e1;
/* rgb */ color: rgb(114, 69, 225);
/* oklch */ color: oklch(53.4% 0.222 290.0);
Tailwind
colors: {
  custom: {
    50: '#a47cec',
    500: '#7245e1',
    950: '#000000',
  },
}
SCSS
$custom: #7245e1;
$custom-light: #a47cec;
$custom-dark: #000000;
JSON
{
  "hex": "#7245e1",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 257.308,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5342,
    "c": 0.22202,
    "h": 290
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#7245E1
secondary
#CEE0A2
accent
#EF39BA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7245E1

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

Preview Lab → · Contrast checker → · Palette generator →

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