#7258CF#7258CF

#7258CF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.176 H 289.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7258CF
RGBrgb(114, 88, 207)
HSLhsl(253, 55%, 58%)
HSVhsv(253, 57%, 81%)
CMYKcmyk(44.9%, 57.5%, 0%, 18.8%)
CIE-LABlab(45.72, 39.52, -58.27)
CIE-LCHlch(45.72, 70.40, 304.14°)
OKLaboklab(54.85% 0.0583 -0.1662)
OKLCHoklch(54.85% 0.176 289.3)
XYZxyz(21.6885, 15.0610, 60.7837)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258CF #B5CF58
analogous
#5879CF #7258CF #AD58CF
triadic
#7258CF #CF7258 #58CF72
tetradic
#7258CF #CF5879 #B5CF58 #58CFAD
square
#7258CF #CF5879 #B5CF58 #58CFAD
split-complementary
#7258CF #CFAD58 #79CF58
monochromatic
#3B2786 #5034B6 #7258CF #9A88DD #C2B7EA

Accessibility & contrast

On white

5.23
#7258CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7258CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258CF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258CF#FFFFFF#000000##FFFFFF
##7258CF1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026FD3
Deuteranopia (green-blind)
#0C69CC
Tritanopia (blue-blind)
#56728B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7258cf;
/* rgb */ color: rgb(114, 88, 207);
/* oklch */ color: oklch(54.9% 0.176 289.3);
Tailwind
colors: {
  custom: {
    50: '#a188de',
    500: '#7258cf',
    950: '#000000',
  },
}
SCSS
$custom: #7258cf;
$custom-light: #a188de;
$custom-dark: #000000;
JSON
{
  "hex": "#7258cf",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 253.109,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54853,
    "c": 0.17614,
    "h": 289.3
  },
  "luminance": 0.15062
}

Semantic roles & 50–950 ramp

primary
#7258CF
secondary
#CFD9AA
accent
#DF49BE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7258CF

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

Preview Lab → · Contrast checker → · Palette generator →

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