#7258BF#7258BF

#7258BF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.8% C 0.155 H 292.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7258BF
RGBrgb(114, 88, 191)
HSLhsl(255, 45%, 55%)
HSVhsv(255, 54%, 75%)
CMYKcmyk(40.3%, 53.9%, 0%, 25.1%)
CIE-LABlab(44.69, 34.98, -50.69)
CIE-LCHlch(44.69, 61.59, 304.61°)
OKLaboklab(53.76% 0.0581 -0.1439)
OKLCHoklch(53.76% 0.155 292)
XYZxyz(19.8306, 14.3179, 50.9989)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258BF #A5BF58
analogous
#5871BF #7258BF #A658BF
triadic
#7258BF #BF7258 #58BF72
tetradic
#7258BF #BF5871 #A5BF58 #58BFA6
square
#7258BF #BF5871 #A5BF58 #58BFA6
split-complementary
#7258BF #BFA658 #71BF58
monochromatic
#3D2B71 #553C9D #7258BF #9784D0 #BDB0E1

Accessibility & contrast

On white

5.44
#7258BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7258BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258BF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258BF#FFFFFF#000000##FFFFFF
##7258BF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC3
Deuteranopia (green-blind)
#2E68BD
Tritanopia (blue-blind)
#5D6E83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7258bf;
/* rgb */ color: rgb(114, 88, 191);
/* oklch */ color: oklch(53.8% 0.155 292.0);
Tailwind
colors: {
  custom: {
    50: '#9f88d3',
    500: '#7258bf',
    950: '#000000',
  },
}
SCSS
$custom: #7258bf;
$custom-light: #9f88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7258bf",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 255.146,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5376,
    "c": 0.1552,
    "h": 292
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#7258BF
secondary
#C4CFA4
accent
#D454B4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7258BF

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

Preview Lab → · Contrast checker → · Palette generator →

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