#7258ED#7258ED

#7258ED is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.1% C 0.214 H 285.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7258ED
RGBrgb(114, 88, 237)
HSLhsl(250, 81%, 64%)
HSVhsv(250, 63%, 93%)
CMYKcmyk(51.9%, 62.9%, 0%, 7.1%)
CIE-LABlab(47.84, 48.19, -71.87)
CIE-LCHlch(47.84, 86.53, 303.84°)
OKLaboklab(57.08% 0.0568 -0.2062)
OKLCHoklch(57.08% 0.214 285.4)
XYZxyz(25.7106, 16.6699, 81.9672)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258ED #D3ED58
analogous
#5888ED #7258ED #BC58ED
triadic
#7258ED #ED7258 #58ED72
tetradic
#7258ED #ED5888 #D3ED58 #58EDBC
square
#7258ED #ED5888 #D3ED58 #58EDBC
split-complementary
#7258ED #EDBC58 #88ED58
monochromatic
#3014B7 #4321E7 #7258ED #A18FF3 #CFC6F9

Accessibility & contrast

On white

4.85
#7258ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7258ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258ED
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258ED#FFFFFF#000000##FFFFFF
##7258ED1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#417C9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7258ed;
/* rgb */ color: rgb(114, 88, 237);
/* oklch */ color: oklch(57.1% 0.214 285.4);
Tailwind
colors: {
  custom: {
    50: '#a488f4',
    500: '#7258ed',
    950: '#000000',
  },
}
SCSS
$custom: #7258ed;
$custom-light: #a488f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7258ed",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 250.47,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57077,
    "c": 0.21386,
    "h": 285.4
  },
  "luminance": 0.16671
}

Semantic roles & 50–950 ramp

primary
#7258ED
secondary
#E2EBB6
accent
#DD09B8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7258ED

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

Preview Lab → · Contrast checker → · Palette generator →

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