#7258DE#7258DE

#7258DE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.195 H 287.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7258DE
RGBrgb(114, 88, 222)
HSLhsl(252, 67%, 61%)
HSVhsv(252, 60%, 87%)
CMYKcmyk(48.6%, 60.4%, 0%, 12.9%)
CIE-LABlab(46.75, 43.83, -65.16)
CIE-LCHlch(46.75, 78.53, 303.93°)
OKLaboklab(55.94% 0.0579 -0.1865)
OKLCHoklch(55.94% 0.195 287.2)
XYZxyz(23.6101, 15.8297, 70.9045)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258DE #C4DE58
analogous
#5881DE #7258DE #B558DE
triadic
#7258DE #DE7258 #58DE72
tetradic
#7258DE #DE5881 #C4DE58 #58DEB5
square
#7258DE #DE5881 #C4DE58 #58DEB5
split-complementary
#7258DE #DEB558 #81DE58
monochromatic
#371F9D #4929D0 #7258DE #9D8BE8 #C8BEF2

Accessibility & contrast

On white

5.04
#7258DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7258DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258DE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258DE#FFFFFF#000000##FFFFFF
##7258DE1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#4C7793
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7258de;
/* rgb */ color: rgb(114, 88, 222);
/* oklch */ color: oklch(55.9% 0.195 287.2);
Tailwind
colors: {
  custom: {
    50: '#a288e9',
    500: '#7258de',
    950: '#000000',
  },
}
SCSS
$custom: #7258de;
$custom-light: #a288e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7258de",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 251.642,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55938,
    "c": 0.19525,
    "h": 287.2
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#7258DE
secondary
#D8E2B0
accent
#CF17AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7258DE

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

Preview Lab → · Contrast checker → · Palette generator →

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