#7D59F2#7D59F2

#7D59F2 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.218 H 288.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7D59F2
RGBrgb(125, 89, 242)
HSLhsl(254, 85%, 65%)
HSVhsv(254, 63%, 95%)
CMYKcmyk(48.3%, 63.2%, 0%, 5.1%)
CIE-LABlab(49.39, 51.04, -72.11)
CIE-LCHlch(49.39, 88.34, 305.29°)
OKLaboklab(58.55% 0.0696 -0.2065)
OKLCHoklch(58.55% 0.218 288.6)
XYZxyz(28.0522, 17.9143, 85.9669)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D59F2 #CEF259
analogous
#5981F2 #7D59F2 #CA59F2
triadic
#7D59F2 #F27D59 #59F27D
tetradic
#7D59F2 #F25981 #CEF259 #59F2CA
square
#7D59F2 #F25981 #CEF259 #59F2CA
split-complementary
#7D59F2 #F2CA59 #81F259
monochromatic
#390FC1 #5120EE #7D59F2 #A992F6 #D6CBFB

Accessibility & contrast

On white

4.58
#7D59F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7D59F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D59F2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D59F2#FFFFFF#000000##000000
##7D59F21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#557E9E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d59f2;
/* rgb */ color: rgb(125, 89, 242);
/* oklch */ color: oklch(58.6% 0.218 288.6);
Tailwind
colors: {
  custom: {
    50: '#ab8af7',
    500: '#7d59f2',
    950: '#000000',
  },
}
SCSS
$custom: #7d59f2;
$custom-light: #ab8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d59f2",
  "rgb": {
    "r": 125,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 254.118,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.21797,
    "h": 288.6
  },
  "luminance": 0.17916
}

Semantic roles & 50–950 ramp

primary
#7D59F2
secondary
#E1EDB9
accent
#E204AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D59F2

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

Preview Lab → · Contrast checker → · Palette generator →

#7D59F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva