#7245D1#7245D1

#7245D1 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.204 H 292.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7245D1
RGBrgb(114, 69, 209)
HSLhsl(259, 60%, 55%)
HSVhsv(259, 67%, 82%)
CMYKcmyk(45.5%, 67%, 0%, 18%)
CIE-LABlab(41.90, 50.63, -65.61)
CIE-LCHlch(41.90, 82.87, 307.66°)
OKLaboklab(52.12% 0.0785 -0.1878)
OKLCHoklch(52.12% 0.204 292.7)
XYZxyz(20.5730, 12.4364, 61.6257)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245D1 #A4D145
analogous
#455ED1 #7245D1 #B845D1
triadic
#7245D1 #D17245 #45D172
tetradic
#7245D1 #D1455E #A4D145 #45D1B8
square
#7245D1 #D1455E #A4D145 #45D1B8
split-complementary
#7245D1 #D1B845 #5ED145
monochromatic
#3D1F7D #552BAE #7245D1 #9776DD #BCA7E9

Accessibility & contrast

On white

6.02
#7245D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7245D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245D1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245D1#FFFFFF#000000##FFFFFF
##7245D11.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0060CE
Tritanopia (blue-blind)
#566785
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7245d1;
/* rgb */ color: rgb(114, 69, 209);
/* oklch */ color: oklch(52.1% 0.204 292.7);
Tailwind
colors: {
  custom: {
    50: '#a27ce0',
    500: '#7245d1',
    950: '#000000',
  },
}
SCSS
$custom: #7245d1;
$custom-light: #a27ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#7245d1",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 259.286,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.20354,
    "h": 292.7
  },
  "luminance": 0.12437
}

Semantic roles & 50–950 ramp

primary
#7245D1
secondary
#C3D79B
accent
#E344B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7245D1

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

Preview Lab → · Contrast checker → · Palette generator →

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