#754BF2#754BF2

#754BF2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.235 H 287.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#754BF2
RGBrgb(117, 75, 242)
HSLhsl(255, 87%, 62%)
HSVhsv(255, 69%, 95%)
CMYKcmyk(51.7%, 69%, 0%, 5.1%)
CIE-LABlab(45.94, 57.07, -77.77)
CIE-LCHlch(45.94, 96.46, 306.27°)
OKLaboklab(55.89% 0.0718 -0.2234)
OKLCHoklch(55.89% 0.235 287.8)
XYZxyz(25.8745, 15.2236, 85.5623)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BF2 #C8F24B
analogous
#4B75F2 #754BF2 #C94BF2
triadic
#754BF2 #F2754B #4BF275
tetradic
#754BF2 #F24B75 #C8F24B #4BF2C9
square
#754BF2 #F24B75 #C8F24B #4BF2C9
split-complementary
#754BF2 #F2C94B #75F24B
monochromatic
#370DB5 #4912EE #754BF2 #A184F6 #CDBDFA

Accessibility & contrast

On white

5.19
#754BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#754BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BF2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BF2#FFFFFF#000000##FFFFFF
##754BF21.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#457699
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #754bf2;
/* rgb */ color: rgb(117, 75, 242);
/* oklch */ color: oklch(55.9% 0.235 287.8);
Tailwind
colors: {
  custom: {
    50: '#a781f8',
    500: '#754bf2',
    950: '#000000',
  },
}
SCSS
$custom: #754bf2;
$custom-light: #a781f8;
$custom-dark: #000000;
JSON
{
  "hex": "#754bf2",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 242
  },
  "hsl": {
    "h": 255.09,
    "s": 86.528,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55893,
    "c": 0.23467,
    "h": 287.8
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

primary
#754BF2
secondary
#DCEBAE
accent
#E302AB
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A17
muted
#807C85

Preview Lab

Preview with #754BF2

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

Preview Lab → · Contrast checker → · Palette generator →

#754BF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva