#7258EB#7258EB

#7258EB is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 56.9% C 0.211 H 285.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7258EB
RGBrgb(114, 88, 235)
HSLhsl(251, 79%, 63%)
HSVhsv(251, 63%, 92%)
CMYKcmyk(51.5%, 62.6%, 0%, 7.8%)
CIE-LABlab(47.69, 47.61, -70.98)
CIE-LCHlch(47.69, 85.47, 303.85°)
OKLaboklab(56.92% 0.057 -0.2036)
OKLCHoklch(56.92% 0.211 285.6)
XYZxyz(25.4201, 16.5537, 80.4369)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258EB #D1EB58
analogous
#5887EB #7258EB #BB58EB
triadic
#7258EB #EB7258 #58EB72
tetradic
#7258EB #EB5887 #D1EB58 #58EBBB
square
#7258EB #EB5887 #D1EB58 #58EBBB
split-complementary
#7258EB #EBBB58 #87EB58
monochromatic
#3115B3 #4421E4 #7258EB #A08FF2 #CEC5F8

Accessibility & contrast

On white

4.87
#7258EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7258EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258EB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258EB#FFFFFF#000000##FFFFFF
##7258EB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#427C99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7258eb;
/* rgb */ color: rgb(114, 88, 235);
/* oklch */ color: oklch(56.9% 0.211 285.6);
Tailwind
colors: {
  custom: {
    50: '#a488f2',
    500: '#7258eb',
    950: '#000000',
  },
}
SCSS
$custom: #7258eb;
$custom-light: #a488f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7258eb",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 250.612,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.21141,
    "h": 285.6
  },
  "luminance": 0.16555
}

Semantic roles & 50–950 ramp

primary
#7258EB
secondary
#E0EAB5
accent
#DB0BB6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7258EB

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

Preview Lab → · Contrast checker → · Palette generator →

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