#7645F2#7645F2

#7645F2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.2% C 0.241 H 288.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7645F2
RGBrgb(118, 69, 242)
HSLhsl(257, 87%, 61%)
HSVhsv(257, 71%, 95%)
CMYKcmyk(51.2%, 71.5%, 0%, 5.1%)
CIE-LABlab(44.97, 60.21, -79.36)
CIE-LCHlch(44.97, 99.61, 307.19°)
OKLaboklab(55.22% 0.0781 -0.228)
OKLCHoklch(55.22% 0.241 288.9)
XYZxyz(25.6217, 14.5174, 85.4393)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645F2 #C1F245
analogous
#456AF2 #7645F2 #CC45F2
triadic
#7645F2 #F27645 #45F276
tetradic
#7645F2 #F2456A #C1F245 #45F2CC
square
#7645F2 #F2456A #C1F245 #45F2CC
split-complementary
#7645F2 #F2CC45 #6AF245
monochromatic
#3B0CB0 #4E10E9 #7645F2 #A07EF6 #CAB7FA

Accessibility & contrast

On white

5.38
#7645F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7645F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645F2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645F2#FFFFFF#000000##FFFFFF
##7645F21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF7
Deuteranopia (green-blind)
#0066EF
Tritanopia (blue-blind)
#487398
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7645f2;
/* rgb */ color: rgb(118, 69, 242);
/* oklch */ color: oklch(55.2% 0.241 288.9);
Tailwind
colors: {
  custom: {
    50: '#a87df8',
    500: '#7645f2',
    950: '#000000',
  },
}
SCSS
$custom: #7645f2;
$custom-light: #a87df8;
$custom-dark: #000000;
JSON
{
  "hex": "#7645f2",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 242
  },
  "hsl": {
    "h": 256.994,
    "s": 86.935,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.24104,
    "h": 288.9
  },
  "luminance": 0.14519
}

Semantic roles & 50–950 ramp

primary
#7645F2
secondary
#D8EAA9
accent
#E302A4
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7645F2

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

Preview Lab → · Contrast checker → · Palette generator →

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