#7245DB#7245DB

#7245DB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.215 H 291.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7245DB
RGBrgb(114, 69, 219)
HSLhsl(258, 68%, 56%)
HSVhsv(258, 68%, 86%)
CMYKcmyk(47.9%, 68.5%, 0%, 14.1%)
CIE-LABlab(42.68, 53.35, -70.07)
CIE-LCHlch(42.68, 88.07, 307.28°)
OKLaboklab(52.93% 0.077 -0.2009)
OKLCHoklch(52.93% 0.215 291)
XYZxyz(21.8501, 12.9473, 68.3519)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245DB #AEDB45
analogous
#4563DB #7245DB #BD45DB
triadic
#7245DB #DB7245 #45DB72
tetradic
#7245DB #DB4563 #AEDB45 #45DBBD
square
#7245DB #DB4563 #AEDB45 #45DBBD
split-complementary
#7245DB #DBBD45 #63DB45
monochromatic
#3C1B8B #5325BE #7245DB #9978E5 #C0ACEF

Accessibility & contrast

On white

5.85
#7245DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7245DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245DB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245DB#FFFFFF#000000##FFFFFF
##7245DB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#506B8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7245db;
/* rgb */ color: rgb(114, 69, 219);
/* oklch */ color: oklch(52.9% 0.215 291.0);
Tailwind
colors: {
  custom: {
    50: '#a37ce7',
    500: '#7245db',
    950: '#000000',
  },
}
SCSS
$custom: #7245db;
$custom-light: #a37ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7245db",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 258,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.21513,
    "h": 291
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#7245DB
secondary
#CADD9F
accent
#EA3DB7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7245DB

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

Preview Lab → · Contrast checker → · Palette generator →

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