#7258EC#7258EC

#7258EC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.0% C 0.213 H 285.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7258EC
RGBrgb(114, 88, 236)
HSLhsl(251, 80%, 64%)
HSVhsv(251, 63%, 93%)
CMYKcmyk(51.7%, 62.7%, 0%, 7.5%)
CIE-LABlab(47.77, 47.90, -71.43)
CIE-LCHlch(47.77, 86.00, 303.85°)
OKLaboklab(57% 0.0569 -0.2049)
OKLCHoklch(57% 0.213 285.5)
XYZxyz(25.5649, 16.6116, 81.1999)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258EC #D2EC58
analogous
#5888EC #7258EC #BC58EC
triadic
#7258EC #EC7258 #58EC72
tetradic
#7258EC #EC5888 #D2EC58 #58ECBC
square
#7258EC #EC5888 #D2EC58 #58ECBC
split-complementary
#7258EC #ECBC58 #88EC58
monochromatic
#3115B5 #4421E6 #7258EC #A08FF2 #CFC6F9

Accessibility & contrast

On white

4.86
#7258EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7258EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258EC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258EC#FFFFFF#000000##FFFFFF
##7258EC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#427C9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7258ec;
/* rgb */ color: rgb(114, 88, 236);
/* oklch */ color: oklch(57.0% 0.213 285.5);
Tailwind
colors: {
  custom: {
    50: '#a488f3',
    500: '#7258ec',
    950: '#000000',
  },
}
SCSS
$custom: #7258ec;
$custom-light: #a488f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7258ec",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 250.541,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56999,
    "c": 0.21264,
    "h": 285.5
  },
  "luminance": 0.16613
}

Semantic roles & 50–950 ramp

primary
#7258EC
secondary
#E1EAB6
accent
#DC0AB7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7258EC

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

Preview Lab → · Contrast checker → · Palette generator →

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