#7154F3#7154F3

#7154F3 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.226 H 285.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7154F3
RGBrgb(113, 84, 243)
HSLhsl(251, 87%, 64%)
HSVhsv(251, 65%, 95%)
CMYKcmyk(53.5%, 65.4%, 0%, 4.7%)
CIE-LABlab(47.39, 51.97, -75.97)
CIE-LCHlch(47.39, 92.04, 304.37°)
OKLaboklab(56.87% 0.0585 -0.2183)
OKLCHoklch(56.87% 0.226 285)
XYZxyz(26.1532, 16.3210, 86.5488)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154F3 #D6F354
analogous
#5487F3 #7154F3 #C054F3
triadic
#7154F3 #F37154 #54F371
tetradic
#7154F3 #F35487 #D6F354 #54F3C0
square
#7154F3 #F35487 #D6F354 #54F3C0
split-complementary
#7154F3 #F3C054 #87F354
monochromatic
#2E0DBF #421BEF #7154F3 #A08DF7 #D0C6FB

Accessibility & contrast

On white

4.92
#7154F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7154F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154F3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154F3#FFFFFF#000000##FFFFFF
##7154F31.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#397C9C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7154f3;
/* rgb */ color: rgb(113, 84, 243);
/* oklch */ color: oklch(56.9% 0.226 285.0);
Tailwind
colors: {
  custom: {
    50: '#a586f8',
    500: '#7154f3',
    950: '#000000',
  },
}
SCSS
$custom: #7154f3;
$custom-light: #a586f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7154f3",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 243
  },
  "hsl": {
    "h": 250.943,
    "s": 86.885,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56874,
    "c": 0.22598,
    "h": 285
  },
  "luminance": 0.16322
}

Semantic roles & 50–950 ramp

primary
#7154F3
secondary
#E3EDB6
accent
#E302BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7154F3

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

Preview Lab → · Contrast checker → · Palette generator →

#7154F3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva