#7258AC#7258AC

#7258AC is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.6% C 0.130 H 295.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7258AC
RGBrgb(114, 88, 172)
HSLhsl(259, 34%, 51%)
HSVhsv(259, 49%, 67%)
CMYKcmyk(33.7%, 48.8%, 0%, 32.5%)
CIE-LABlab(43.56, 29.74, -41.37)
CIE-LCHlch(43.56, 50.95, 305.71°)
OKLaboklab(52.56% 0.0566 -0.1166)
OKLCHoklch(52.56% 0.13 295.9)
XYZxyz(17.8737, 13.5351, 40.6926)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258AC #92AC58
analogous
#5868AC #7258AC #9C58AC
triadic
#7258AC #AC7258 #58AC72
tetradic
#7258AC #AC5868 #92AC58 #58AC9C
square
#7258AC #AC5868 #92AC58 #58AC9C
split-complementary
#7258AC #AC9C58 #68AC58
monochromatic
#3C2E5C #574285 #7258AC #9581C0 #B7AAD5

Accessibility & contrast

On white

5.66
#7258AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7258AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258AC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258AC#FFFFFF#000000##FFFFFF
##7258AC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AF
Deuteranopia (green-blind)
#4066AA
Tritanopia (blue-blind)
#65687A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7258ac;
/* rgb */ color: rgb(114, 88, 172);
/* oklch */ color: oklch(52.6% 0.130 295.9);
Tailwind
colors: {
  custom: {
    50: '#9d87c5',
    500: '#7258ac',
    950: '#000000',
  },
}
SCSS
$custom: #7258ac;
$custom-light: #9d87c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7258ac",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 258.571,
    "s": 33.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52556,
    "c": 0.12963,
    "h": 295.9
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#7258AC
secondary
#B7C39D
accent
#CA5EA8
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0B13
muted
#7E7C82

Preview Lab

Preview with #7258AC

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

Preview Lab → · Contrast checker → · Palette generator →

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