#7253F2#7253F2

#7253F2 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.7% C 0.226 H 285.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7253F2
RGBrgb(114, 83, 242)
HSLhsl(252, 86%, 64%)
HSVhsv(252, 66%, 95%)
CMYKcmyk(52.9%, 65.7%, 0%, 5.1%)
CIE-LABlab(47.20, 52.38, -75.72)
CIE-LCHlch(47.20, 92.07, 304.68°)
OKLaboklab(56.73% 0.0609 -0.2175)
OKLCHoklch(56.73% 0.226 285.6)
XYZxyz(26.0549, 16.1733, 85.7360)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7253F2 #D3F253
analogous
#5383F2 #7253F2 #C153F2
triadic
#7253F2 #F27253 #53F272
tetradic
#7253F2 #F25383 #D3F253 #53F2C1
square
#7253F2 #F25383 #D3F253 #53F2C1
split-complementary
#7253F2 #F2C153 #83F253
monochromatic
#300EBC #431AEE #7253F2 #A18CF6 #CFC5FB

Accessibility & contrast

On white

4.96
#7253F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7253F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7253F2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7253F2#FFFFFF#000000##FFFFFF
##7253F21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#3C7B9C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7253f2;
/* rgb */ color: rgb(114, 83, 242);
/* oklch */ color: oklch(56.7% 0.226 285.6);
Tailwind
colors: {
  custom: {
    50: '#a585f7',
    500: '#7253f2',
    950: '#000000',
  },
}
SCSS
$custom: #7253f2;
$custom-light: #a585f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7253f2",
  "rgb": {
    "r": 114,
    "g": 83,
    "b": 242
  },
  "hsl": {
    "h": 251.698,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.22585,
    "h": 285.6
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

primary
#7253F2
secondary
#E2ECB4
accent
#E203B7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7253F2

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

Preview Lab → · Contrast checker → · Palette generator →

#7253F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva