#7258F5#7258F5

#7258F5 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.7% C 0.224 H 284.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7258F5
RGBrgb(114, 88, 245)
HSLhsl(250, 89%, 65%)
HSVhsv(250, 64%, 96%)
CMYKcmyk(53.5%, 64.1%, 0%, 3.9%)
CIE-LABlab(48.45, 50.52, -75.37)
CIE-LCHlch(48.45, 90.73, 303.83°)
OKLaboklab(57.7% 0.056 -0.2165)
OKLCHoklch(57.7% 0.224 284.5)
XYZxyz(26.9056, 17.1479, 88.2606)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258F5 #DBF558
analogous
#588DF5 #7258F5 #C058F5
triadic
#7258F5 #F57258 #58F572
tetradic
#7258F5 #F5588D #DBF558 #58F5C0
square
#7258F5 #F5588D #DBF558 #58F5C0
split-complementary
#7258F5 #F5C058 #8DF558
monochromatic
#2B0CC7 #411EF2 #7258F5 #A392F8 #D4CBFC

Accessibility & contrast

On white

4.74
#7258F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7258F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258F5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258F5#FFFFFF#000000##FFFFFF
##7258F51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#006EF2
Tritanopia (blue-blind)
#397F9F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7258f5;
/* rgb */ color: rgb(114, 88, 245);
/* oklch */ color: oklch(57.7% 0.224 284.5);
Tailwind
colors: {
  custom: {
    50: '#a589fa',
    500: '#7258f5',
    950: '#000000',
  },
}
SCSS
$custom: #7258f5;
$custom-light: #a589fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7258f5",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 249.936,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57704,
    "c": 0.2236,
    "h": 284.5
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#7258F5
secondary
#E6EFBA
accent
#E500BF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7258F5

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

Preview Lab → · Contrast checker → · Palette generator →

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