#7245CE#7245CE

#7245CE is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.9% C 0.200 H 293.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7245CE
RGBrgb(114, 69, 206)
HSLhsl(260, 58%, 54%)
HSVhsv(260, 67%, 81%)
CMYKcmyk(44.7%, 66.5%, 0%, 19.2%)
CIE-LABlab(41.67, 49.82, -64.25)
CIE-LCHlch(41.67, 81.30, 307.79°)
OKLaboklab(51.89% 0.079 -0.1838)
OKLCHoklch(51.89% 0.2 293.2)
XYZxyz(20.2051, 12.2893, 59.6880)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245CE #A1CE45
analogous
#455DCE #7245CE #B745CE
triadic
#7245CE #CE7245 #45CE72
tetradic
#7245CE #CE455D #A1CE45 #45CEB7
square
#7245CE #CE455D #A1CE45 #45CEB7
split-complementary
#7245CE #CEB745 #5DCE45
monochromatic
#3D2079 #562DA9 #7245CE #9775DB #BBA6E8

Accessibility & contrast

On white

6.07
#7245CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7245CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245CE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245CE#FFFFFF#000000##FFFFFF
##7245CE1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#576684
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7245ce;
/* rgb */ color: rgb(114, 69, 206);
/* oklch */ color: oklch(51.9% 0.200 293.2);
Tailwind
colors: {
  custom: {
    50: '#a27cde',
    500: '#7245ce',
    950: '#000000',
  },
}
SCSS
$custom: #7245ce;
$custom-light: #a27cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7245ce",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 259.708,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.20003,
    "h": 293.2
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#7245CE
secondary
#C1D59A
accent
#E246AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7245CE

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

Preview Lab → · Contrast checker → · Palette generator →

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