#7258DF#7258DF

#7258DF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.0% C 0.197 H 287.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7258DF
RGBrgb(114, 88, 223)
HSLhsl(252, 68%, 61%)
HSVhsv(252, 61%, 87%)
CMYKcmyk(48.9%, 60.5%, 0%, 12.5%)
CIE-LABlab(46.82, 44.12, -65.62)
CIE-LCHlch(46.82, 79.07, 303.92°)
OKLaboklab(56.01% 0.0578 -0.1878)
OKLCHoklch(56.01% 0.197 287.1)
XYZxyz(23.7445, 15.8835, 71.6124)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258DF #C5DF58
analogous
#5881DF #7258DF #B658DF
triadic
#7258DF #DF7258 #58DF72
tetradic
#7258DF #DF5881 #C5DF58 #58DFB6
square
#7258DF #DF5881 #C5DF58 #58DFB6
split-complementary
#7258DF #DFB658 #81DF58
monochromatic
#371E9E #4928D2 #7258DF #9D8BE9 #C9BFF3

Accessibility & contrast

On white

5.03
#7258DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7258DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258DF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258DF#FFFFFF#000000##FFFFFF
##7258DF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#4C7893
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7258df;
/* rgb */ color: rgb(114, 88, 223);
/* oklch */ color: oklch(56.0% 0.197 287.1);
Tailwind
colors: {
  custom: {
    50: '#a288ea',
    500: '#7258df',
    950: '#000000',
  },
}
SCSS
$custom: #7258df;
$custom-light: #a288ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7258df",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 251.556,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.19651,
    "h": 287.1
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#7258DF
secondary
#D9E3B0
accent
#D016AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7258DF

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

Preview Lab → · Contrast checker → · Palette generator →

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