#7258E1#7258E1

#7258E1 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.2% C 0.199 H 286.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7258E1
RGBrgb(114, 88, 225)
HSLhsl(251, 70%, 61%)
HSVhsv(251, 61%, 88%)
CMYKcmyk(49.3%, 60.9%, 0%, 11.8%)
CIE-LABlab(46.96, 44.70, -66.52)
CIE-LCHlch(46.96, 80.14, 303.90°)
OKLaboklab(56.16% 0.0577 -0.1905)
OKLCHoklch(56.16% 0.199 286.9)
XYZxyz(24.0158, 15.9920, 73.0409)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258E1 #C7E158
analogous
#5883E1 #7258E1 #B758E1
triadic
#7258E1 #E17258 #58E172
tetradic
#7258E1 #E15883 #C7E158 #58E1B7
square
#7258E1 #E15883 #C7E158 #58E1B7
split-complementary
#7258E1 #E1B758 #83E158
monochromatic
#361DA2 #4826D5 #7258E1 #9E8CEA #CAC0F4

Accessibility & contrast

On white

5.00
#7258E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7258E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258E1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258E1#FFFFFF#000000##FFFFFF
##7258E11.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#4A7894
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7258e1;
/* rgb */ color: rgb(114, 88, 225);
/* oklch */ color: oklch(56.2% 0.199 286.9);
Tailwind
colors: {
  custom: {
    50: '#a388eb',
    500: '#7258e1',
    950: '#000000',
  },
}
SCSS
$custom: #7258e1;
$custom-light: #a388eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7258e1",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 251.387,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56162,
    "c": 0.19901,
    "h": 286.9
  },
  "luminance": 0.15993
}

Semantic roles & 50–950 ramp

primary
#7258E1
secondary
#DAE4B1
accent
#D214AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7258E1

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

Preview Lab → · Contrast checker → · Palette generator →

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