#7258E5#7258E5

#7258E5 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.5% C 0.204 H 286.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7258E5
RGBrgb(114, 88, 229)
HSLhsl(251, 73%, 62%)
HSVhsv(251, 62%, 90%)
CMYKcmyk(50.2%, 61.6%, 0%, 10.2%)
CIE-LABlab(47.25, 45.86, -68.32)
CIE-LCHlch(47.25, 82.28, 303.87°)
OKLaboklab(56.46% 0.0574 -0.1957)
OKLCHoklch(56.46% 0.204 286.4)
XYZxyz(24.5678, 16.2128, 75.9484)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258E5 #CBE558
analogous
#5885E5 #7258E5 #B958E5
triadic
#7258E5 #E57258 #58E572
tetradic
#7258E5 #E55885 #CBE558 #58E5B9
square
#7258E5 #E55885 #CBE558 #58E5B9
split-complementary
#7258E5 #E5B958 #85E558
monochromatic
#341AA8 #4523DD #7258E5 #9F8DED #CBC2F5

Accessibility & contrast

On white

4.95
#7258E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7258E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258E5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258E5#FFFFFF#000000##FFFFFF
##7258E51.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#477A96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7258e5;
/* rgb */ color: rgb(114, 88, 229);
/* oklch */ color: oklch(56.5% 0.204 286.4);
Tailwind
colors: {
  custom: {
    50: '#a388ee',
    500: '#7258e5',
    950: '#000000',
  },
}
SCSS
$custom: #7258e5;
$custom-light: #a388ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7258e5",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 251.064,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.20399,
    "h": 286.4
  },
  "luminance": 0.16214
}

Semantic roles & 50–950 ramp

primary
#7258E5
secondary
#DDE6B3
accent
#D510B1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7258E5

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

Preview Lab → · Contrast checker → · Palette generator →

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