#7258CE#7258CE

#7258CE is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.175 H 289.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7258CE
RGBrgb(114, 88, 206)
HSLhsl(253, 55%, 58%)
HSVhsv(253, 57%, 81%)
CMYKcmyk(44.7%, 57.3%, 0%, 19.2%)
CIE-LABlab(45.65, 39.23, -57.80)
CIE-LCHlch(45.65, 69.86, 304.16°)
OKLaboklab(54.78% 0.0584 -0.1648)
OKLCHoklch(54.78% 0.175 289.5)
XYZxyz(21.5666, 15.0123, 60.1419)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258CE #B4CE58
analogous
#5879CE #7258CE #AD58CE
triadic
#7258CE #CE7258 #58CE72
tetradic
#7258CE #CE5879 #B4CE58 #58CEAD
square
#7258CE #CE5879 #B4CE58 #58CEAD
split-complementary
#7258CE #CEAD58 #79CE58
monochromatic
#3C2785 #5135B4 #7258CE #9A87DC #C2B7EA

Accessibility & contrast

On white

5.25
#7258CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7258CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258CE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258CE#FFFFFF#000000##FFFFFF
##7258CE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ED2
Deuteranopia (green-blind)
#1069CB
Tritanopia (blue-blind)
#56728A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7258ce;
/* rgb */ color: rgb(114, 88, 206);
/* oklch */ color: oklch(54.8% 0.175 289.5);
Tailwind
colors: {
  custom: {
    50: '#a088de',
    500: '#7258ce',
    950: '#000000',
  },
}
SCSS
$custom: #7258ce;
$custom-light: #a088de;
$custom-dark: #000000;
JSON
{
  "hex": "#7258ce",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 253.22,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54782,
    "c": 0.17485,
    "h": 289.5
  },
  "luminance": 0.15013
}

Semantic roles & 50–950 ramp

primary
#7258CE
secondary
#CED9A9
accent
#DE4ABD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7258CE

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

Preview Lab → · Contrast checker → · Palette generator →

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