#7258DB#7258DB

#7258DB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.191 H 287.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7258DB
RGBrgb(114, 88, 219)
HSLhsl(252, 65%, 60%)
HSVhsv(252, 60%, 86%)
CMYKcmyk(47.9%, 59.8%, 0%, 14.1%)
CIE-LABlab(46.54, 42.97, -63.80)
CIE-LCHlch(46.54, 76.92, 303.96°)
OKLaboklab(55.72% 0.058 -0.1825)
OKLCHoklch(55.72% 0.191 287.6)
XYZxyz(23.2116, 15.6703, 68.8057)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7258DB #C1DB58
analogous
#5880DB #7258DB #B358DB
triadic
#7258DB #DB7258 #58DB72
tetradic
#7258DB #DB5880 #C1DB58 #58DBB3
square
#7258DB #DB5880 #C1DB58 #58DBB3
split-complementary
#7258DB #DBB358 #80DB58
monochromatic
#382198 #4B2CCA #7258DB #9D8AE6 #C7BDF1

Accessibility & contrast

On white

5.08
#7258DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7258DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7258DB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7258DB#FFFFFF#000000##FFFFFF
##7258DB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#4E7691
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7258db;
/* rgb */ color: rgb(114, 88, 219);
/* oklch */ color: oklch(55.7% 0.191 287.6);
Tailwind
colors: {
  custom: {
    50: '#a288e7',
    500: '#7258db',
    950: '#000000',
  },
}
SCSS
$custom: #7258db;
$custom-light: #a288e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7258db",
  "rgb": {
    "r": 114,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 251.908,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55717,
    "c": 0.19147,
    "h": 287.6
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#7258DB
secondary
#D7E1AE
accent
#CC19A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7258DB

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

Preview Lab → · Contrast checker → · Palette generator →

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