#7258CB#7258CB

#7258CB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.6% C 0.171 H 290.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7258CB
RGBrgb(114, 88, 203)
HSLhsl(254, 53%, 57%)
HSVhsv(254, 57%, 80%)
CMYKcmyk(43.8%, 56.7%, 0%, 20.4%)
CIE-LABlab(45.45, 38.37, -56.40)
CIE-LCHlch(45.45, 68.21, 304.23°)
OKLaboklab(54.57% 0.0584 -0.1607)
OKLCHoklch(54.57% 0.171 290)
XYZxyz(21.2056, 14.8679, 58.2408)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258CB #B1CB58
analogous
#5878CB #7258CB #AB58CB
triadic
#7258CB #CB7258 #58CB72
tetradic
#7258CB #CB5878 #B1CB58 #58CBAB
square
#7258CB #CB5878 #B1CB58 #58CBAB
split-complementary
#7258CB #CBAB58 #78CB58
monochromatic
#3C2881 #5237AF #7258CB #9987DA #C1B5E8

Accessibility & contrast

On white

5.28
#7258CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7258CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258CB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258CB#FFFFFF#000000##FFFFFF
##7258CB1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126ECF
Deuteranopia (green-blind)
#1969C8
Tritanopia (blue-blind)
#587189
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7258cb;
/* rgb */ color: rgb(114, 88, 203);
/* oklch */ color: oklch(54.6% 0.171 290.0);
Tailwind
colors: {
  custom: {
    50: '#a088db',
    500: '#7258cb',
    950: '#000000',
  },
}
SCSS
$custom: #7258cb;
$custom-light: #a088db;
$custom-dark: #000000;
JSON
{
  "hex": "#7258cb",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 253.565,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54573,
    "c": 0.17096,
    "h": 290
  },
  "luminance": 0.14869
}

Semantic roles & 50–950 ramp

primary
#7258CB
secondary
#CCD7A8
accent
#DC4CBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7258CB

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

Preview Lab → · Contrast checker → · Palette generator →

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