#7259CB#7259CB

#7259CB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.7% C 0.170 H 289.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7259CB
RGBrgb(114, 89, 203)
HSLhsl(253, 52%, 57%)
HSVhsv(253, 56%, 80%)
CMYKcmyk(43.8%, 56.2%, 0%, 20.4%)
CIE-LABlab(45.68, 37.79, -56.03)
CIE-LCHlch(45.68, 67.58, 304.00°)
OKLaboklab(54.74% 0.0572 -0.1596)
OKLCHoklch(54.74% 0.17 289.7)
XYZxyz(21.2883, 15.0332, 58.2684)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7259CB #B2CB59
analogous
#5979CB #7259CB #AB59CB
triadic
#7259CB #CB7259 #59CB72
tetradic
#7259CB #CB5979 #B2CB59 #59CBAB
square
#7259CB #CB5979 #B2CB59 #59CBAB
split-complementary
#7259CB #CBAB59 #79CB59
monochromatic
#3C2881 #5237B0 #7259CB #9A88DA #C1B6E8

Accessibility & contrast

On white

5.24
#7259CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7259CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7259CB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7259CB#FFFFFF#000000##FFFFFF
##7259CB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECF
Deuteranopia (green-blind)
#1C69C9
Tritanopia (blue-blind)
#587289
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7259cb;
/* rgb */ color: rgb(114, 89, 203);
/* oklch */ color: oklch(54.7% 0.170 289.7);
Tailwind
colors: {
  custom: {
    50: '#a089db',
    500: '#7259cb',
    950: '#000000',
  },
}
SCSS
$custom: #7259cb;
$custom-light: #a089db;
$custom-dark: #000000;
JSON
{
  "hex": "#7259cb",
  "rgb": {
    "r": 114,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 253.158,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54741,
    "c": 0.16954,
    "h": 289.7
  },
  "luminance": 0.15034
}

Semantic roles & 50–950 ramp

primary
#7259CB
secondary
#CDD7A9
accent
#DC4CBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7259CB

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

Preview Lab → · Contrast checker → · Palette generator →

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