#7258BB#7258BB

#7258BB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.5% C 0.150 H 292.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7258BB
RGBrgb(114, 88, 187)
HSLhsl(256, 42%, 54%)
HSVhsv(256, 53%, 73%)
CMYKcmyk(39%, 52.9%, 0%, 26.7%)
CIE-LABlab(44.44, 33.86, -48.76)
CIE-LCHlch(44.44, 59.36, 304.78°)
OKLaboklab(53.5% 0.0579 -0.1383)
OKLCHoklch(53.5% 0.15 292.7)
XYZxyz(19.3964, 14.1442, 48.7122)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258BB #A1BB58
analogous
#5870BB #7258BB #A458BB
triadic
#7258BB #BB7258 #58BB72
tetradic
#7258BB #BB5870 #A1BB58 #58BBA4
square
#7258BB #BB5870 #A1BB58 #58BBA4
split-complementary
#7258BB #BBA458 #70BB58
monochromatic
#3D2C6C #563E98 #7258BB #9783CD #BBAFDE

Accessibility & contrast

On white

5.48
#7258BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7258BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258BB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258BB#FFFFFF#000000##FFFFFF
##7258BB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#3367B9
Tritanopia (blue-blind)
#5F6C81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7258bb;
/* rgb */ color: rgb(114, 88, 187);
/* oklch */ color: oklch(53.5% 0.150 292.7);
Tailwind
colors: {
  custom: {
    50: '#9f88d0',
    500: '#7258bb',
    950: '#000000',
  },
}
SCSS
$custom: #7258bb;
$custom-light: #9f88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7258bb",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 255.758,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.14988,
    "h": 292.7
  },
  "luminance": 0.14145
}

Semantic roles & 50–950 ramp

primary
#7258BB
secondary
#C1CDA2
accent
#D256B1
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7258BB

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

Preview Lab → · Contrast checker → · Palette generator →

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