#7249CB#7249CB

#7249CB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.191 H 293.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7249CB
RGBrgb(114, 73, 203)
HSLhsl(259, 56%, 54%)
HSVhsv(259, 64%, 80%)
CMYKcmyk(43.8%, 64%, 0%, 20.4%)
CIE-LABlab(42.24, 46.86, -61.60)
CIE-LCHlch(42.24, 77.40, 307.26°)
OKLaboklab(52.22% 0.0751 -0.176)
OKLCHoklch(52.22% 0.191 293.1)
XYZxyz(20.0985, 12.6537, 57.8718)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7249CB #A2CB49
analogous
#4961CB #7249CB #B349CB
triadic
#7249CB #CB7249 #49CB72
tetradic
#7249CB #CB4961 #A2CB49 #49CBB3
square
#7249CB #CB4961 #A2CB49 #49CBB3
split-complementary
#7249CB #CBB349 #61CB49
monochromatic
#3D2277 #5530A7 #7249CB #9779D9 #BCA8E6

Accessibility & contrast

On white

5.95
#7249CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7249CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7249CB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7249CB#FFFFFF#000000##FFFFFF
##7249CB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#596783
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7249cb;
/* rgb */ color: rgb(114, 73, 203);
/* oklch */ color: oklch(52.2% 0.191 293.1);
Tailwind
colors: {
  custom: {
    50: '#a17edc',
    500: '#7249cb',
    950: '#000000',
  },
}
SCSS
$custom: #7249cb;
$custom-light: #a17edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7249cb",
  "rgb": {
    "r": 114,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 258.923,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52223,
    "c": 0.19137,
    "h": 293.1
  },
  "luminance": 0.12654
}

Semantic roles & 50–950 ramp

primary
#7249CB
secondary
#C2D49C
accent
#DF49B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7249CB

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

Preview Lab → · Contrast checker → · Palette generator →

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