#7258C8#7258C8

#7258C8 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.4% C 0.167 H 290.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7258C8
RGBrgb(114, 88, 200)
HSLhsl(254, 50%, 56%)
HSVhsv(254, 56%, 78%)
CMYKcmyk(43%, 56%, 0%, 21.6%)
CIE-LABlab(45.26, 37.52, -54.98)
CIE-LCHlch(45.26, 66.56, 304.31°)
OKLaboklab(54.37% 0.0583 -0.1565)
OKLCHoklch(54.37% 0.167 290.4)
XYZxyz(20.8516, 14.7263, 56.3762)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258C8 #AEC858
analogous
#5876C8 #7258C8 #AA58C8
triadic
#7258C8 #C87258 #58C872
tetradic
#7258C8 #C85876 #AEC858 #58C8AA
square
#7258C8 #C85876 #AEC858 #58C8AA
split-complementary
#7258C8 #C8AA58 #76C858
monochromatic
#3C297D #5338AB #7258C8 #9986D7 #C0B4E6

Accessibility & contrast

On white

5.32
#7258C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7258C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258C8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258C8#FFFFFF#000000##FFFFFF
##7258C81.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196DCC
Deuteranopia (green-blind)
#2069C6
Tritanopia (blue-blind)
#597087
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7258c8;
/* rgb */ color: rgb(114, 88, 200);
/* oklch */ color: oklch(54.4% 0.167 290.4);
Tailwind
colors: {
  custom: {
    50: '#a088d9',
    500: '#7258c8',
    950: '#000000',
  },
}
SCSS
$custom: #7258c8;
$custom-light: #a088d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7258c8",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 253.929,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54366,
    "c": 0.16704,
    "h": 290.4
  },
  "luminance": 0.14727
}

Semantic roles & 50–950 ramp

primary
#7258C8
secondary
#CAD5A7
accent
#DA4EB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7258C8

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

Preview Lab → · Contrast checker → · Palette generator →

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