#7258CA#7258CA

#7258CA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.170 H 290.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7258CA
RGBrgb(114, 88, 202)
HSLhsl(254, 52%, 57%)
HSVhsv(254, 56%, 79%)
CMYKcmyk(43.6%, 56.4%, 0%, 20.8%)
CIE-LABlab(45.39, 38.09, -55.93)
CIE-LCHlch(45.39, 67.66, 304.26°)
OKLaboklab(54.5% 0.0584 -0.1593)
OKLCHoklch(54.5% 0.17 290.1)
XYZxyz(21.0868, 14.8204, 57.6152)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258CA #B0CA58
analogous
#5877CA #7258CA #AB58CA
triadic
#7258CA #CA7258 #58CA72
tetradic
#7258CA #CA5877 #B0CA58 #58CAAB
square
#7258CA #CA5877 #B0CA58 #58CAAB
split-complementary
#7258CA #CAAB58 #77CA58
monochromatic
#3C287F #5237AE #7258CA #9986D9 #C0B5E7

Accessibility & contrast

On white

5.30
#7258CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7258CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258CA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258CA#FFFFFF#000000##FFFFFF
##7258CA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156ECE
Deuteranopia (green-blind)
#1B69C8
Tritanopia (blue-blind)
#587188
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7258ca;
/* rgb */ color: rgb(114, 88, 202);
/* oklch */ color: oklch(54.5% 0.170 290.1);
Tailwind
colors: {
  custom: {
    50: '#a088db',
    500: '#7258ca',
    950: '#000000',
  },
}
SCSS
$custom: #7258ca;
$custom-light: #a088db;
$custom-dark: #000000;
JSON
{
  "hex": "#7258ca",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 253.684,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.16966,
    "h": 290.1
  },
  "luminance": 0.14821
}

Semantic roles & 50–950 ramp

primary
#7258CA
secondary
#CCD6A8
accent
#DB4DBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7258CA

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

Preview Lab → · Contrast checker → · Palette generator →

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