#7258BC#7258BC

#7258BC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.6% C 0.151 H 292.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7258BC
RGBrgb(114, 88, 188)
HSLhsl(256, 43%, 54%)
HSVhsv(256, 53%, 74%)
CMYKcmyk(39.4%, 53.2%, 0%, 26.3%)
CIE-LABlab(44.50, 34.14, -49.24)
CIE-LCHlch(44.50, 59.92, 304.73°)
OKLaboklab(53.56% 0.0579 -0.1397)
OKLCHoklch(53.56% 0.151 292.5)
XYZxyz(19.5038, 14.1872, 49.2780)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258BC #A2BC58
analogous
#5870BC #7258BC #A458BC
triadic
#7258BC #BC7258 #58BC72
tetradic
#7258BC #BC5870 #A2BC58 #58BCA4
square
#7258BC #BC5870 #A2BC58 #58BCA4
split-complementary
#7258BC #BCA458 #70BC58
monochromatic
#3D2C6E #553E99 #7258BC #9784CE #BCAFDF

Accessibility & contrast

On white

5.47
#7258BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7258BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258BC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258BC#FFFFFF#000000##FFFFFF
##7258BC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6BBF
Deuteranopia (green-blind)
#3167BA
Tritanopia (blue-blind)
#5F6D81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7258bc;
/* rgb */ color: rgb(114, 88, 188);
/* oklch */ color: oklch(53.6% 0.151 292.5);
Tailwind
colors: {
  custom: {
    50: '#9f88d1',
    500: '#7258bc',
    950: '#000000',
  },
}
SCSS
$custom: #7258bc;
$custom-light: #9f88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7258bc",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 255.6,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53563,
    "c": 0.15121,
    "h": 292.5
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#7258BC
secondary
#C2CDA3
accent
#D355B2
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7258BC

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

Preview Lab → · Contrast checker → · Palette generator →

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