#7259DB#7259DB

#7259DB is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.190 H 287.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7259DB
RGBrgb(114, 89, 219)
HSLhsl(252, 64%, 60%)
HSVhsv(252, 59%, 86%)
CMYKcmyk(47.9%, 59.4%, 0%, 14.1%)
CIE-LABlab(46.76, 42.39, -63.45)
CIE-LCHlch(46.76, 76.31, 303.75°)
OKLaboklab(55.88% 0.0569 -0.1814)
OKLCHoklch(55.88% 0.19 287.4)
XYZxyz(23.2943, 15.8356, 68.8333)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7259DB #C2DB59
analogous
#5981DB #7259DB #B359DB
triadic
#7259DB #DB7259 #59DB72
tetradic
#7259DB #DB5981 #C2DB59 #59DBB3
square
#7259DB #DB5981 #C2DB59 #59DBB3
split-complementary
#7259DB #DBB359 #81DB59
monochromatic
#382199 #4B2CCB #7259DB #9D8BE6 #C7BEF1

Accessibility & contrast

On white

5.04
#7259DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7259DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7259DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7259DB#FFFFFF#000000##FFFFFF
##7259DB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#4E7791
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7259db;
/* rgb */ color: rgb(114, 89, 219);
/* oklch */ color: oklch(55.9% 0.190 287.4);
Tailwind
colors: {
  custom: {
    50: '#a289e7',
    500: '#7259db',
    950: '#000000',
  },
}
SCSS
$custom: #7259db;
$custom-light: #a289e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7259db",
  "rgb": {
    "r": 114,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 251.538,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55877,
    "c": 0.19015,
    "h": 287.4
  },
  "luminance": 0.15837
}

Semantic roles & 50–950 ramp

primary
#7259DB
secondary
#D7E1AF
accent
#CC19AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7259DB

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

Preview Lab → · Contrast checker → · Palette generator →

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