#7258F1#7258F1

#7258F1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.4% C 0.219 H 284.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7258F1
RGBrgb(114, 88, 241)
HSLhsl(250, 85%, 65%)
HSVhsv(250, 63%, 95%)
CMYKcmyk(52.7%, 63.5%, 0%, 5.5%)
CIE-LABlab(48.14, 49.35, -73.62)
CIE-LCHlch(48.14, 88.63, 303.84°)
OKLaboklab(57.39% 0.0564 -0.2113)
OKLCHoklch(57.39% 0.219 284.9)
XYZxyz(26.3016, 16.9063, 85.0794)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258F1 #D7F158
analogous
#588BF1 #7258F1 #BF58F1
triadic
#7258F1 #F17258 #58F172
tetradic
#7258F1 #F1588B #D7F158 #58F1BF
square
#7258F1 #F1588B #D7F158 #58F1BF
split-complementary
#7258F1 #F1BF58 #8BF158
monochromatic
#2E10BF #4220EC #7258F1 #A290F6 #D1C9FA

Accessibility & contrast

On white

4.79
#7258F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7258F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258F1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258F1#FFFFFF#000000##FFFFFF
##7258F11.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006EEE
Tritanopia (blue-blind)
#3D7E9D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7258f1;
/* rgb */ color: rgb(114, 88, 241);
/* oklch */ color: oklch(57.4% 0.219 284.9);
Tailwind
colors: {
  custom: {
    50: '#a589f7',
    500: '#7258f1',
    950: '#000000',
  },
}
SCSS
$custom: #7258f1;
$custom-light: #a589f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7258f1",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 250.196,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57389,
    "c": 0.21875,
    "h": 284.9
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7258F1

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

Preview Lab → · Contrast checker → · Palette generator →

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