#7246FD#7246FD

#7246FD is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.252 H 286.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7246FD
RGBrgb(114, 70, 253)
HSLhsl(254, 98%, 63%)
HSVhsv(254, 72%, 99%)
CMYKcmyk(54.9%, 72.3%, 0%, 0.8%)
CIE-LABlab(45.70, 62.14, -84.33)
CIE-LCHlch(45.70, 104.75, 306.39°)
OKLaboklab(55.94% 0.0694 -0.2427)
OKLCHoklch(55.94% 0.252 286)
XYZxyz(26.8539, 15.0481, 94.3990)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246FD #D1FD46
analogous
#4675FD #7246FD #CD46FD
triadic
#7246FD #FD7246 #46FD72
tetradic
#7246FD #FD4675 #D1FD46 #46FDCD
square
#7246FD #FD4675 #D1FD46 #46FDCD
split-complementary
#7246FD #FDCD46 #75FD46
monochromatic
#3102C6 #4409FC #7246FD #A083FE #CEBFFE

Accessibility & contrast

On white

5.24
#7246FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7246FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246FD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246FD#FFFFFF#000000##FFFFFF
##7246FD1.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)
#0071FF
Deuteranopia (green-blind)
#0067FA
Tritanopia (blue-blind)
#31789E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7246fd;
/* rgb */ color: rgb(114, 70, 253);
/* oklch */ color: oklch(55.9% 0.252 286.0);
Tailwind
colors: {
  custom: {
    50: '#a87eff',
    500: '#7246fd',
    950: '#000000',
  },
}
SCSS
$custom: #7246fd;
$custom-light: #a87eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7246fd",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 253
  },
  "hsl": {
    "h": 254.426,
    "s": 97.861,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.25245,
    "h": 286
  },
  "luminance": 0.1505
}

Semantic roles & 50–950 ramp

primary
#7246FD
secondary
#E0F0AF
accent
#E600AE
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7246FD

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

Preview Lab → · Contrast checker → · Palette generator →

#7246FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva