#7258E7#7258E7

#7258E7 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.6% C 0.206 H 286.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7258E7
RGBrgb(114, 88, 231)
HSLhsl(251, 75%, 63%)
HSVhsv(251, 62%, 91%)
CMYKcmyk(50.6%, 61.9%, 0%, 9.4%)
CIE-LABlab(47.40, 46.44, -69.21)
CIE-LCHlch(47.40, 83.35, 303.86°)
OKLaboklab(56.62% 0.0573 -0.1984)
OKLCHoklch(56.62% 0.206 286.1)
XYZxyz(24.8487, 16.3251, 77.4276)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258E7 #CDE758
analogous
#5886E7 #7258E7 #B958E7
triadic
#7258E7 #E77258 #58E772
tetradic
#7258E7 #E75886 #CDE758 #58E7B9
square
#7258E7 #E75886 #CDE758 #58E7B9
split-complementary
#7258E7 #E7B958 #86E758
monochromatic
#3319AC #4522DF #7258E7 #9F8EEF #CCC3F6

Accessibility & contrast

On white

4.92
#7258E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7258E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258E7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258E7#FFFFFF#000000##FFFFFF
##7258E71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#467A97
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7258e7;
/* rgb */ color: rgb(114, 88, 231);
/* oklch */ color: oklch(56.6% 0.206 286.1);
Tailwind
colors: {
  custom: {
    50: '#a388f0',
    500: '#7258e7',
    950: '#000000',
  },
}
SCSS
$custom: #7258e7;
$custom-light: #a388f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7258e7",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 250.909,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56615,
    "c": 0.20648,
    "h": 286.1
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#7258E7
secondary
#DEE7B3
accent
#D70EB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7258E7

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

Preview Lab → · Contrast checker → · Palette generator →

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