#7258DC#7258DC

#7258DC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.8% C 0.193 H 287.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7258DC
RGBrgb(114, 88, 220)
HSLhsl(252, 65%, 60%)
HSVhsv(252, 60%, 86%)
CMYKcmyk(48.2%, 60%, 0%, 13.7%)
CIE-LABlab(46.61, 43.26, -64.26)
CIE-LCHlch(46.61, 77.46, 303.95°)
OKLaboklab(55.79% 0.058 -0.1838)
OKLCHoklch(55.79% 0.193 287.5)
XYZxyz(23.3437, 15.7231, 69.5011)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258DC #C2DC58
analogous
#5880DC #7258DC #B458DC
triadic
#7258DC #DC7258 #58DC72
tetradic
#7258DC #DC5880 #C2DC58 #58DCB4
square
#7258DC #DC5880 #C2DC58 #58DCB4
split-complementary
#7258DC #DCB458 #80DC58
monochromatic
#382099 #4B2BCC #7258DC #9D8BE7 #C7BDF1

Accessibility & contrast

On white

5.07
#7258DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7258DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258DC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258DC#FFFFFF#000000##FFFFFF
##7258DC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#4E7792
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7258dc;
/* rgb */ color: rgb(114, 88, 220);
/* oklch */ color: oklch(55.8% 0.193 287.5);
Tailwind
colors: {
  custom: {
    50: '#a288e8',
    500: '#7258dc',
    950: '#000000',
  },
}
SCSS
$custom: #7258dc;
$custom-light: #a288e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7258dc",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 251.818,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5579,
    "c": 0.19273,
    "h": 287.5
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#7258DC
secondary
#D7E1AF
accent
#CD18AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7258DC

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

Preview Lab → · Contrast checker → · Palette generator →

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