#7245D8#7245D8

#7245D8 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.212 H 291.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7245D8
RGBrgb(114, 69, 216)
HSLhsl(258, 65%, 56%)
HSVhsv(258, 68%, 85%)
CMYKcmyk(47.2%, 68.1%, 0%, 15.3%)
CIE-LABlab(42.45, 52.53, -68.74)
CIE-LCHlch(42.45, 86.52, 307.39°)
OKLaboklab(52.68% 0.0775 -0.197)
OKLCHoklch(52.68% 0.212 291.5)
XYZxyz(21.4587, 12.7907, 66.2906)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245D8 #ABD845
analogous
#4561D8 #7245D8 #BB45D8
triadic
#7245D8 #D87245 #45D872
tetradic
#7245D8 #D84561 #ABD845 #45D8BB
square
#7245D8 #D84561 #ABD845 #45D8BB
split-complementary
#7245D8 #D8BB45 #61D845
monochromatic
#3D1C86 #5427B9 #7245D8 #9878E3 #BFAAED

Accessibility & contrast

On white

5.90
#7245D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7245D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245D8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245D8#FFFFFF#000000##FFFFFF
##7245D81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#526A89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7245d8;
/* rgb */ color: rgb(114, 69, 216);
/* oklch */ color: oklch(52.7% 0.212 291.5);
Tailwind
colors: {
  custom: {
    50: '#a37ce5',
    500: '#7245d8',
    950: '#000000',
  },
}
SCSS
$custom: #7245d8;
$custom-light: #a37ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#7245d8",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 258.367,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.21167,
    "h": 291.5
  },
  "luminance": 0.12792
}

Semantic roles & 50–950 ramp

primary
#7245D8
secondary
#C8DB9E
accent
#E840B5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7245D8

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

Preview Lab → · Contrast checker → · Palette generator →

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