#7258F2#7258F2

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

Color values

HEX#7258F2
RGBrgb(114, 88, 242)
HSLhsl(250, 86%, 65%)
HSVhsv(250, 64%, 95%)
CMYKcmyk(52.9%, 63.6%, 0%, 5.1%)
CIE-LABlab(48.22, 49.64, -74.06)
CIE-LCHlch(48.22, 89.16, 303.83°)
OKLaboklab(57.47% 0.0563 -0.2126)
OKLCHoklch(57.47% 0.22 284.8)
XYZxyz(26.4513, 16.9662, 85.8682)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258F2 #D8F258
analogous
#588BF2 #7258F2 #BF58F2
triadic
#7258F2 #F27258 #58F272
tetradic
#7258F2 #F2588B #D8F258 #58F2BF
square
#7258F2 #F2588B #D8F258 #58F2BF
split-complementary
#7258F2 #F2BF58 #8BF258
monochromatic
#2D0FC1 #421FEE #7258F2 #A291F6 #D2CAFB

Accessibility & contrast

On white

4.78
#7258F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7258F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258F2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258F2#FFFFFF#000000##FFFFFF
##7258F21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#3C7E9D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7258f2;
/* rgb */ color: rgb(114, 88, 242);
/* oklch */ color: oklch(57.5% 0.220 284.8);
Tailwind
colors: {
  custom: {
    50: '#a589f7',
    500: '#7258f2',
    950: '#000000',
  },
}
SCSS
$custom: #7258f2;
$custom-light: #a589f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7258f2",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 250.13,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.21996,
    "h": 284.8
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#7258F2
secondary
#E4EDB8
accent
#E203BC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7258F2

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

Preview Lab → · Contrast checker → · Palette generator →

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