#7259EF#7259EF

#7259EF is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.4% C 0.215 H 285.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7259EF
RGBrgb(114, 89, 239)
HSLhsl(250, 82%, 64%)
HSVhsv(250, 63%, 94%)
CMYKcmyk(52.3%, 62.8%, 0%, 6.3%)
CIE-LABlab(48.20, 48.21, -72.41)
CIE-LCHlch(48.20, 86.99, 303.66°)
OKLaboklab(57.38% 0.0557 -0.2078)
OKLCHoklch(57.38% 0.215 285)
XYZxyz(26.0871, 16.9528, 83.5422)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7259EF #D6EF59
analogous
#598BEF #7259EF #BD59EF
triadic
#7259EF #EF7259 #59EF72
tetradic
#7259EF #EF598B #D6EF59 #59EFBD
square
#7259EF #EF598B #D6EF59 #59EFBD
split-complementary
#7259EF #EFBD59 #8BEF59
monochromatic
#2E12BC #4321EA #7259EF #A191F4 #D1C9FA

Accessibility & contrast

On white

4.78
#7259EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7259EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7259EF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7259EF#FFFFFF#000000##FFFFFF
##7259EF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#3F7E9C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7259ef;
/* rgb */ color: rgb(114, 89, 239);
/* oklch */ color: oklch(57.4% 0.215 285.0);
Tailwind
colors: {
  custom: {
    50: '#a489f5',
    500: '#7259ef',
    950: '#000000',
  },
}
SCSS
$custom: #7259ef;
$custom-light: #a489f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7259ef",
  "rgb": {
    "r": 114,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 250,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57384,
    "c": 0.2151,
    "h": 285
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#7259EF
secondary
#E3ECB8
accent
#DF07BB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7259EF

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

Preview Lab → · Contrast checker → · Palette generator →

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