#7259C1#7259C1

#7259C1 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.1% C 0.156 H 291.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7259C1
RGBrgb(114, 89, 193)
HSLhsl(254, 46%, 55%)
HSVhsv(254, 54%, 76%)
CMYKcmyk(40.9%, 53.9%, 0%, 24.3%)
CIE-LABlab(45.04, 34.95, -51.28)
CIE-LCHlch(45.04, 62.06, 304.28°)
OKLaboklab(54.06% 0.0569 -0.1456)
OKLCHoklch(54.06% 0.156 291.3)
XYZxyz(20.1348, 14.5718, 52.1935)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7259C1 #A8C159
analogous
#5974C1 #7259C1 #A659C1
triadic
#7259C1 #C17259 #59C172
tetradic
#7259C1 #C15974 #A8C159 #59C1A6
square
#7259C1 #C15974 #A8C159 #59C1A6
split-complementary
#7259C1 #C1A659 #74C159
monochromatic
#3D2B74 #543CA1 #7259C1 #9886D2 #BEB2E2

Accessibility & contrast

On white

5.36
#7259C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7259C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7259C1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7259C1#FFFFFF#000000##FFFFFF
##7259C11.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286CC5
Deuteranopia (green-blind)
#2D68BF
Tritanopia (blue-blind)
#5D6F84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7259c1;
/* rgb */ color: rgb(114, 89, 193);
/* oklch */ color: oklch(54.1% 0.156 291.3);
Tailwind
colors: {
  custom: {
    50: '#9f88d4',
    500: '#7259c1',
    950: '#000000',
  },
}
SCSS
$custom: #7259c1;
$custom-light: #9f88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7259c1",
  "rgb": {
    "r": 114,
    "g": 89,
    "b": 193
  },
  "hsl": {
    "h": 254.423,
    "s": 45.614,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54064,
    "c": 0.15638,
    "h": 291.3
  },
  "luminance": 0.14572
}

Semantic roles & 50–950 ramp

primary
#7259C1
secondary
#C6D1A5
accent
#D553B6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7259C1

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

Preview Lab → · Contrast checker → · Palette generator →

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