#7645F1#7645F1

#7645F1 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.240 H 289.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7645F1
RGBrgb(118, 69, 241)
HSLhsl(257, 86%, 61%)
HSVhsv(257, 71%, 95%)
CMYKcmyk(51%, 71.4%, 0%, 5.5%)
CIE-LABlab(44.88, 59.94, -78.93)
CIE-LCHlch(44.88, 99.11, 307.21°)
OKLaboklab(55.14% 0.0784 -0.2268)
OKLCHoklch(55.14% 0.24 289.1)
XYZxyz(25.4719, 14.4575, 84.6505)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645F1 #C0F145
analogous
#456AF1 #7645F1 #CC45F1
triadic
#7645F1 #F17645 #45F176
tetradic
#7645F1 #F1456A #C0F145 #45F1CC
square
#7645F1 #F1456A #C0F145 #45F1CC
split-complementary
#7645F1 #F1CC45 #6AF145
monochromatic
#3B0DAE #4E11E7 #7645F1 #A07EF5 #CAB7FA

Accessibility & contrast

On white

5.40
#7645F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7645F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645F1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645F1#FFFFFF#000000##FFFFFF
##7645F11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF6
Deuteranopia (green-blind)
#0066EE
Tritanopia (blue-blind)
#487397
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7645f1;
/* rgb */ color: rgb(118, 69, 241);
/* oklch */ color: oklch(55.1% 0.240 289.1);
Tailwind
colors: {
  custom: {
    50: '#a87df7',
    500: '#7645f1',
    950: '#000000',
  },
}
SCSS
$custom: #7645f1;
$custom-light: #a87df7;
$custom-dark: #000000;
JSON
{
  "hex": "#7645f1",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 241
  },
  "hsl": {
    "h": 257.093,
    "s": 86,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55139,
    "c": 0.23992,
    "h": 289.1
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#7645F1
secondary
#D7E9A8
accent
#E303A3
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7645F1

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

Preview Lab → · Contrast checker → · Palette generator →

#7645F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva