#7245CF#7245CF

#7245CF is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.201 H 293.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7245CF
RGBrgb(114, 69, 207)
HSLhsl(260, 59%, 54%)
HSVhsv(260, 67%, 81%)
CMYKcmyk(44.9%, 66.7%, 0%, 18.8%)
CIE-LABlab(41.75, 50.09, -64.70)
CIE-LCHlch(41.75, 81.83, 307.75°)
OKLaboklab(51.97% 0.0788 -0.1851)
OKLCHoklch(51.97% 0.201 293.1)
XYZxyz(20.3269, 12.3380, 60.3299)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245CF #A2CF45
analogous
#455DCF #7245CF #B745CF
triadic
#7245CF #CF7245 #45CF72
tetradic
#7245CF #CF455D #A2CF45 #45CFB7
square
#7245CF #CF455D #A2CF45 #45CFB7
split-complementary
#7245CF #CFB745 #5DCF45
monochromatic
#3D207A #552CAB #7245CF #9776DC #BCA6E8

Accessibility & contrast

On white

6.06
#7245CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7245CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245CF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245CF#FFFFFF#000000##FFFFFF
##7245CF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#576784
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7245cf;
/* rgb */ color: rgb(114, 69, 207);
/* oklch */ color: oklch(52.0% 0.201 293.1);
Tailwind
colors: {
  custom: {
    50: '#a27cdf',
    500: '#7245cf',
    950: '#000000',
  },
}
SCSS
$custom: #7245cf;
$custom-light: #a27cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7245cf",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 259.565,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.2012,
    "h": 293.1
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7245CF

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

Preview Lab → · Contrast checker → · Palette generator →

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