#7245D3#7245D3

#7245D3 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.206 H 292.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7245D3
RGBrgb(114, 69, 211)
HSLhsl(259, 62%, 55%)
HSVhsv(259, 67%, 83%)
CMYKcmyk(46%, 67.3%, 0%, 17.3%)
CIE-LABlab(42.06, 51.18, -66.51)
CIE-LCHlch(42.06, 83.92, 307.58°)
OKLaboklab(52.28% 0.0782 -0.1904)
OKLCHoklch(52.28% 0.206 292.3)
XYZxyz(20.8222, 12.5361, 62.9380)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245D3 #A6D345
analogous
#455FD3 #7245D3 #B945D3
triadic
#7245D3 #D37245 #45D372
tetradic
#7245D3 #D3455F #A6D345 #45D3B9
square
#7245D3 #D3455F #A6D345 #45D3B9
split-complementary
#7245D3 #D3B945 #5FD345
monochromatic
#3D1E7F #552AB1 #7245D3 #9876DF #BDA8EA

Accessibility & contrast

On white

5.99
#7245D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7245D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245D3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245D3#FFFFFF#000000##FFFFFF
##7245D31.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#556886
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7245d3;
/* rgb */ color: rgb(114, 69, 211);
/* oklch */ color: oklch(52.3% 0.206 292.3);
Tailwind
colors: {
  custom: {
    50: '#a27ce1',
    500: '#7245d3',
    950: '#000000',
  },
}
SCSS
$custom: #7245d3;
$custom-light: #a27ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7245d3",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 259.014,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.20587,
    "h": 292.3
  },
  "luminance": 0.12537
}

Semantic roles & 50–950 ramp

primary
#7245D3
secondary
#C5D89C
accent
#E543B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7245D3

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

Preview Lab → · Contrast checker → · Palette generator →

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