#7258DD#7258DD

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

Color values

HEX#7258DD
RGBrgb(114, 88, 221)
HSLhsl(252, 66%, 61%)
HSVhsv(252, 60%, 87%)
CMYKcmyk(48.4%, 60.2%, 0%, 13.3%)
CIE-LABlab(46.68, 43.54, -64.71)
CIE-LCHlch(46.68, 78.00, 303.94°)
OKLaboklab(55.86% 0.0579 -0.1851)
OKLCHoklch(55.86% 0.194 287.4)
XYZxyz(23.4765, 15.7763, 70.2007)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258DD #C3DD58
analogous
#5881DD #7258DD #B458DD
triadic
#7258DD #DD7258 #58DD72
tetradic
#7258DD #DD5881 #C3DD58 #58DDB4
square
#7258DD #DD5881 #C3DD58 #58DDB4
split-complementary
#7258DD #DDB458 #81DD58
monochromatic
#38209B #4A2ACE #7258DD #9D8BE7 #C8BEF2

Accessibility & contrast

On white

5.05
#7258DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7258DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258DD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258DD#FFFFFF#000000##FFFFFF
##7258DD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#4D7792
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7258dd;
/* rgb */ color: rgb(114, 88, 221);
/* oklch */ color: oklch(55.9% 0.194 287.4);
Tailwind
colors: {
  custom: {
    50: '#a288e8',
    500: '#7258dd',
    950: '#000000',
  },
}
SCSS
$custom: #7258dd;
$custom-light: #a288e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7258dd",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 251.729,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55864,
    "c": 0.19399,
    "h": 287.4
  },
  "luminance": 0.15777
}

Semantic roles & 50–950 ramp

primary
#7258DD
secondary
#D8E2AF
accent
#CE17AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7258DD

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

Preview Lab → · Contrast checker → · Palette generator →

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