#7258F3#7258F3

#7258F3 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.5% C 0.221 H 284.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7258F3
RGBrgb(114, 88, 243)
HSLhsl(250, 87%, 65%)
HSVhsv(250, 64%, 95%)
CMYKcmyk(53.1%, 63.8%, 0%, 4.7%)
CIE-LABlab(48.29, 49.93, -74.50)
CIE-LCHlch(48.29, 89.68, 303.83°)
OKLaboklab(57.55% 0.0562 -0.2139)
OKLCHoklch(57.55% 0.221 284.7)
XYZxyz(26.6019, 17.0264, 86.6613)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258F3 #D9F358
analogous
#588BF3 #7258F3 #C058F3
triadic
#7258F3 #F37258 #58F372
tetradic
#7258F3 #F3588B #D9F358 #58F3C0
square
#7258F3 #F3588B #D9F358 #58F3C0
split-complementary
#7258F3 #F3C058 #8BF358
monochromatic
#2C0EC3 #421FEF #7258F3 #A291F7 #D2CAFB

Accessibility & contrast

On white

4.77
#7258F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7258F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258F3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258F3#FFFFFF#000000##FFFFFF
##7258F31.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F8
Deuteranopia (green-blind)
#006EF0
Tritanopia (blue-blind)
#3B7E9E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7258f3;
/* rgb */ color: rgb(114, 88, 243);
/* oklch */ color: oklch(57.5% 0.221 284.7);
Tailwind
colors: {
  custom: {
    50: '#a589f8',
    500: '#7258f3',
    950: '#000000',
  },
}
SCSS
$custom: #7258f3;
$custom-light: #a589f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7258f3",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 243
  },
  "hsl": {
    "h": 250.065,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57546,
    "c": 0.22118,
    "h": 284.7
  },
  "luminance": 0.17028
}

Semantic roles & 50–950 ramp

primary
#7258F3
secondary
#E5EEB9
accent
#E302BD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7258F3

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

Preview Lab → · Contrast checker → · Palette generator →

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