#7245E6#7245E6

#7245E6 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.228 H 289.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7245E6
RGBrgb(114, 69, 230)
HSLhsl(257, 76%, 59%)
HSVhsv(257, 70%, 90%)
CMYKcmyk(50.4%, 70%, 0%, 9.8%)
CIE-LABlab(43.57, 56.35, -74.88)
CIE-LCHlch(43.57, 93.71, 306.96°)
OKLaboklab(53.84% 0.075 -0.215)
OKLCHoklch(53.84% 0.228 289.2)
XYZxyz(23.3463, 13.5458, 76.2320)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245E6 #B9E645
analogous
#4568E6 #7245E6 #C245E6
triadic
#7245E6 #E67245 #45E672
tetradic
#7245E6 #E64568 #B9E645 #45E6C2
square
#7245E6 #E64568 #B9E645 #45E6C2
split-complementary
#7245E6 #E6C245 #68E645
monochromatic
#3B159C #4F1CD2 #7245E6 #9B7BED #C4B1F5

Accessibility & contrast

On white

5.66
#7245E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7245E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245E6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245E6#FFFFFF#000000##FFFFFF
##7245E61.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#486F91
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7245e6;
/* rgb */ color: rgb(114, 69, 230);
/* oklch */ color: oklch(53.8% 0.228 289.2);
Tailwind
colors: {
  custom: {
    50: '#a57cef',
    500: '#7245e6',
    950: '#000000',
  },
}
SCSS
$custom: #7245e6;
$custom-light: #a57cef;
$custom-dark: #000000;
JSON
{
  "hex": "#7245e6",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 256.77,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53837,
    "c": 0.22771,
    "h": 289.2
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#7245E6
secondary
#D1E3A4
accent
#F335BE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7245E6

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

Preview Lab → · Contrast checker → · Palette generator →

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