#7258EE#7258EE

#7258EE is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.2% C 0.215 H 285.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7258EE
RGBrgb(114, 88, 238)
HSLhsl(250, 82%, 64%)
HSVhsv(250, 63%, 93%)
CMYKcmyk(52.1%, 63%, 0%, 6.7%)
CIE-LABlab(47.92, 48.48, -72.31)
CIE-LCHlch(47.92, 87.05, 303.84°)
OKLaboklab(57.15% 0.0567 -0.2075)
OKLCHoklch(57.15% 0.215 285.3)
XYZxyz(25.8571, 16.7285, 82.7388)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258EE #D4EE58
analogous
#5889EE #7258EE #BD58EE
triadic
#7258EE #EE7258 #58EE72
tetradic
#7258EE #EE5889 #D4EE58 #58EEBD
square
#7258EE #EE5889 #D4EE58 #58EEBD
split-complementary
#7258EE #EEBD58 #89EE58
monochromatic
#3013B9 #4320E8 #7258EE #A190F4 #D0C7F9

Accessibility & contrast

On white

4.83
#7258EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7258EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258EE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258EE#FFFFFF#000000##FFFFFF
##7258EE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006DEB
Tritanopia (blue-blind)
#407D9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7258ee;
/* rgb */ color: rgb(114, 88, 238);
/* oklch */ color: oklch(57.2% 0.215 285.3);
Tailwind
colors: {
  custom: {
    50: '#a488f5',
    500: '#7258ee',
    950: '#000000',
  },
}
SCSS
$custom: #7258ee;
$custom-light: #a488f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7258ee",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 250.4,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57154,
    "c": 0.21509,
    "h": 285.3
  },
  "luminance": 0.1673
}

Semantic roles & 50–950 ramp

primary
#7258EE
secondary
#E2EBB7
accent
#DE08B9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7258EE

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

Preview Lab → · Contrast checker → · Palette generator →

#7258EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva