#7259C8#7259C8

#7259C8 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.5% C 0.166 H 290.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7259C8
RGBrgb(114, 89, 200)
HSLhsl(254, 50%, 57%)
HSVhsv(254, 56%, 78%)
CMYKcmyk(43%, 55.5%, 0%, 21.6%)
CIE-LABlab(45.49, 36.93, -54.62)
CIE-LCHlch(45.49, 65.93, 304.07°)
OKLaboklab(54.54% 0.0571 -0.1554)
OKLCHoklch(54.54% 0.166 290.2)
XYZxyz(20.9342, 14.8916, 56.4037)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7259C8 #AFC859
analogous
#5978C8 #7259C8 #AA59C8
triadic
#7259C8 #C87259 #59C872
tetradic
#7259C8 #C85978 #AFC859 #59C8AA
square
#7259C8 #C85978 #AFC859 #59C8AA
split-complementary
#7259C8 #C8AA59 #78C859
monochromatic
#3C297D #5239AB #7259C8 #9987D7 #C0B5E6

Accessibility & contrast

On white

5.28
#7259C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7259C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7259C8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7259C8#FFFFFF#000000##FFFFFF
##7259C81.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECC
Deuteranopia (green-blind)
#2269C6
Tritanopia (blue-blind)
#597188
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7259c8;
/* rgb */ color: rgb(114, 89, 200);
/* oklch */ color: oklch(54.5% 0.166 290.2);
Tailwind
colors: {
  custom: {
    50: '#a088d9',
    500: '#7259c8',
    950: '#000000',
  },
}
SCSS
$custom: #7259c8;
$custom-light: #a088d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7259c8",
  "rgb": {
    "r": 114,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 253.514,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.16562,
    "h": 290.2
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#7259C8
secondary
#CBD5A8
accent
#DA4EBA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7259C8

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

Preview Lab → · Contrast checker → · Palette generator →

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