#7258DA#7258DA

#7258DA is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.190 H 287.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7258DA
RGBrgb(114, 88, 218)
HSLhsl(252, 64%, 60%)
HSVhsv(252, 60%, 85%)
CMYKcmyk(47.7%, 59.6%, 0%, 14.5%)
CIE-LABlab(46.47, 42.68, -63.34)
CIE-LCHlch(46.47, 76.38, 303.97°)
OKLaboklab(55.64% 0.0581 -0.1811)
OKLCHoklch(55.64% 0.19 287.8)
XYZxyz(23.0804, 15.6178, 68.1145)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258DA #C0DA58
analogous
#587FDA #7258DA #B358DA
triadic
#7258DA #DA7258 #58DA72
tetradic
#7258DA #DA587F #C0DA58 #58DAB3
square
#7258DA #DA587F #C0DA58 #58DAB3
split-complementary
#7258DA #DAB358 #7FDA58
monochromatic
#392196 #4C2CC8 #7258DA #9C8AE5 #C7BCF0

Accessibility & contrast

On white

5.09
#7258DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7258DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258DA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258DA#FFFFFF#000000##FFFFFF
##7258DA1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#4F7691
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7258da;
/* rgb */ color: rgb(114, 88, 218);
/* oklch */ color: oklch(55.6% 0.190 287.8);
Tailwind
colors: {
  custom: {
    50: '#a288e6',
    500: '#7258da',
    950: '#000000',
  },
}
SCSS
$custom: #7258da;
$custom-light: #a288e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7258da",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 252,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.1902,
    "h": 287.8
  },
  "luminance": 0.15619
}

Semantic roles & 50–950 ramp

primary
#7258DA
secondary
#D6E0AE
accent
#E741C6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7258DA

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

Preview Lab → · Contrast checker → · Palette generator →

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