#7258BE#7258BE

#7258BE is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.7% C 0.154 H 292.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7258BE
RGBrgb(114, 88, 190)
HSLhsl(255, 44%, 55%)
HSVhsv(255, 54%, 75%)
CMYKcmyk(40%, 53.7%, 0%, 25.5%)
CIE-LABlab(44.62, 34.70, -50.21)
CIE-LCHlch(44.62, 61.03, 304.65°)
OKLaboklab(53.69% 0.058 -0.1425)
OKLCHoklch(53.69% 0.154 292.2)
XYZxyz(19.7209, 14.2740, 50.4213)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258BE #A4BE58
analogous
#5871BE #7258BE #A558BE
triadic
#7258BE #BE7258 #58BE72
tetradic
#7258BE #BE5871 #A4BE58 #58BEA5
square
#7258BE #BE5871 #A4BE58 #58BEA5
split-complementary
#7258BE #BEA558 #71BE58
monochromatic
#3D2C70 #553D9C #7258BE #9784CF #BCB0E0

Accessibility & contrast

On white

5.45
#7258BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7258BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258BE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258BE#FFFFFF#000000##FFFFFF
##7258BE1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC1
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#5E6D82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7258be;
/* rgb */ color: rgb(114, 88, 190);
/* oklch */ color: oklch(53.7% 0.154 292.2);
Tailwind
colors: {
  custom: {
    50: '#9f88d2',
    500: '#7258be',
    950: '#000000',
  },
}
SCSS
$custom: #7258be;
$custom-light: #9f88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7258be",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 255.294,
    "s": 43.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53694,
    "c": 0.15388,
    "h": 292.2
  },
  "luminance": 0.14275
}

Semantic roles & 50–950 ramp

primary
#7258BE
secondary
#C3CEA3
accent
#D454B3
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7258BE

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

Preview Lab → · Contrast checker → · Palette generator →

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