#7259CC#7259CC

#7259CC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.8% C 0.171 H 289.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7259CC
RGBrgb(114, 89, 204)
HSLhsl(253, 53%, 57%)
HSVhsv(253, 56%, 80%)
CMYKcmyk(44.1%, 56.4%, 0%, 20%)
CIE-LABlab(45.74, 38.07, -56.50)
CIE-LCHlch(45.74, 68.13, 303.97°)
OKLaboklab(54.81% 0.0572 -0.161)
OKLCHoklch(54.81% 0.171 289.6)
XYZxyz(21.4078, 15.0810, 58.8980)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7259CC #B3CC59
analogous
#597ACC #7259CC #AB59CC
triadic
#7259CC #CC7259 #59CC72
tetradic
#7259CC #CC597A #B3CC59 #59CCAB
square
#7259CC #CC597A #B3CC59 #59CCAB
split-complementary
#7259CC #CCAB59 #7ACC59
monochromatic
#3C2883 #5136B1 #7259CC #9A88DA #C2B7E9

Accessibility & contrast

On white

5.23
#7259CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7259CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7259CC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7259CC#FFFFFF#000000##FFFFFF
##7259CC1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD0
Deuteranopia (green-blind)
#1A6AC9
Tritanopia (blue-blind)
#57728A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7259cc;
/* rgb */ color: rgb(114, 89, 204);
/* oklch */ color: oklch(54.8% 0.171 289.6);
Tailwind
colors: {
  custom: {
    50: '#a089dc',
    500: '#7259cc',
    950: '#000000',
  },
}
SCSS
$custom: #7259cc;
$custom-light: #a089dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7259cc",
  "rgb": {
    "r": 114,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 253.043,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5481,
    "c": 0.17086,
    "h": 289.6
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#7259CC
secondary
#CED8A9
accent
#DC4BBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7259CC

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

Preview Lab → · Contrast checker → · Palette generator →

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