#7258E8#7258E8

#7258E8 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.7% C 0.208 H 286.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7258E8
RGBrgb(114, 88, 232)
HSLhsl(251, 76%, 63%)
HSVhsv(251, 62%, 91%)
CMYKcmyk(50.9%, 62.1%, 0%, 9%)
CIE-LABlab(47.47, 46.73, -69.65)
CIE-LCHlch(47.47, 83.88, 303.86°)
OKLaboklab(56.69% 0.0572 -0.1997)
OKLCHoklch(56.69% 0.208 286)
XYZxyz(24.9903, 16.3818, 78.1735)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258E8 #CEE858
analogous
#5886E8 #7258E8 #BA58E8
triadic
#7258E8 #E87258 #58E872
tetradic
#7258E8 #E85886 #CEE858 #58E8BA
square
#7258E8 #E85886 #CEE858 #58E8BA
split-complementary
#7258E8 #E8BA58 #86E858
monochromatic
#3318AE #4522E1 #7258E8 #9F8EEF #CDC4F7

Accessibility & contrast

On white

4.91
#7258E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7258E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258E8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258E8#FFFFFF#000000##FFFFFF
##7258E81.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#457B98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7258e8;
/* rgb */ color: rgb(114, 88, 232);
/* oklch */ color: oklch(56.7% 0.208 286.0);
Tailwind
colors: {
  custom: {
    50: '#a488f0',
    500: '#7258e8',
    950: '#000000',
  },
}
SCSS
$custom: #7258e8;
$custom-light: #a488f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7258e8",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 250.833,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.20771,
    "h": 286
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#7258E8
secondary
#DFE8B4
accent
#D80EB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7258E8

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

Preview Lab → · Contrast checker → · Palette generator →

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