#7245CD#7245CD

#7245CD is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.199 H 293.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7245CD
RGBrgb(114, 69, 205)
HSLhsl(260, 58%, 54%)
HSVhsv(260, 66%, 80%)
CMYKcmyk(44.4%, 66.3%, 0%, 19.6%)
CIE-LABlab(41.60, 49.55, -63.79)
CIE-LCHlch(41.60, 80.78, 307.84°)
OKLaboklab(51.81% 0.0791 -0.1824)
OKLCHoklch(51.81% 0.199 293.4)
XYZxyz(20.0840, 12.2408, 59.0503)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245CD #A0CD45
analogous
#455CCD #7245CD #B645CD
triadic
#7245CD #CD7245 #45CD72
tetradic
#7245CD #CD455C #A0CD45 #45CDB6
square
#7245CD #CD455C #A0CD45 #45CDB6
split-complementary
#7245CD #CDB645 #5CCD45
monochromatic
#3D2077 #562DA8 #7245CD #9775DA #BBA5E7

Accessibility & contrast

On white

6.09
#7245CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7245CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245CD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245CD#FFFFFF#000000##FFFFFF
##7245CD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#586683
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7245cd;
/* rgb */ color: rgb(114, 69, 205);
/* oklch */ color: oklch(51.8% 0.199 293.4);
Tailwind
colors: {
  custom: {
    50: '#a27cdd',
    500: '#7245cd',
    950: '#000000',
  },
}
SCSS
$custom: #7245cd;
$custom-light: #a27cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7245cd",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 259.853,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.19885,
    "h": 293.4
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#7245CD
secondary
#C1D49A
accent
#E147AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7245CD

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

Preview Lab → · Contrast checker → · Palette generator →

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