#7259CD#7259CD

#7259CD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.172 H 289.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7259CD
RGBrgb(114, 89, 205)
HSLhsl(253, 54%, 58%)
HSVhsv(253, 57%, 80%)
CMYKcmyk(44.4%, 56.6%, 0%, 19.6%)
CIE-LABlab(45.81, 38.36, -56.97)
CIE-LCHlch(45.81, 68.68, 303.95°)
OKLaboklab(54.88% 0.0572 -0.1624)
OKLCHoklch(54.88% 0.172 289.4)
XYZxyz(21.5281, 15.1292, 59.5317)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7259CD #B4CD59
analogous
#597ACD #7259CD #AC59CD
triadic
#7259CD #CD7259 #59CD72
tetradic
#7259CD #CD597A #B4CD59 #59CDAC
square
#7259CD #CD597A #B4CD59 #59CDAC
split-complementary
#7259CD #CDAC59 #7ACD59
monochromatic
#3C2884 #5136B3 #7259CD #9A88DB #C2B7E9

Accessibility & contrast

On white

5.22
#7259CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7259CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7259CD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7259CD#FFFFFF#000000##FFFFFF
##7259CD1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD1
Deuteranopia (green-blind)
#176ACA
Tritanopia (blue-blind)
#57738A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7259cd;
/* rgb */ color: rgb(114, 89, 205);
/* oklch */ color: oklch(54.9% 0.172 289.4);
Tailwind
colors: {
  custom: {
    50: '#a089dd',
    500: '#7259cd',
    950: '#000000',
  },
}
SCSS
$custom: #7259cd;
$custom-light: #a089dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7259cd",
  "rgb": {
    "r": 114,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 252.931,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54879,
    "c": 0.17216,
    "h": 289.4
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#7259CD
secondary
#CED8AA
accent
#DD4BBE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7259CD

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

Preview Lab → · Contrast checker → · Palette generator →

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