#765397#765397

#765397 is a mid, moderate violet. Relative luminance 0.123; OKLCH L 50.9% C 0.111 H 306.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#765397
RGBrgb(118, 83, 151)
HSLhsl(271, 29%, 46%)
HSVhsv(271, 45%, 59%)
CMYKcmyk(21.9%, 45%, 0%, 40.8%)
CIE-LABlab(41.65, 28.46, -31.88)
CIE-LCHlch(41.65, 42.74, 311.75°)
OKLaboklab(50.85% 0.066 -0.0889)
OKLCHoklch(50.85% 0.111 306.6)
XYZxyz(16.1493, 12.2726, 30.7902)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765397 #749753
analogous
#545397 #765397 #975396
triadic
#765397 #977653 #539776
tetradic
#765397 #975453 #749753 #539697
square
#765397 #975453 #749753 #539697
split-complementary
#765397 #969753 #539754
monochromatic
#382848 #573D70 #765397 #9574B3 #B39CC9

Accessibility & contrast

On white

6.08
#765397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#765397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765397
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765397#FFFFFF#000000##FFFFFF
##7653971.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426199
Deuteranopia (green-blind)
#4B6395
Tritanopia (blue-blind)
#715E6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #765397;
/* rgb */ color: rgb(118, 83, 151);
/* oklch */ color: oklch(50.9% 0.111 306.6);
Tailwind
colors: {
  custom: {
    50: '#9f84b6',
    500: '#765397',
    950: '#000000',
  },
}
SCSS
$custom: #765397;
$custom-light: #9f84b6;
$custom-dark: #000000;
JSON
{
  "hex": "#765397",
  "rgb": {
    "r": 118,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 270.882,
    "s": 29.06,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50853,
    "c": 0.11068,
    "h": 306.6
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#765397
secondary
#A2B690
accent
#C56292
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0F0B11
muted
#7E7C80

Preview Lab

Preview with #765397

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

Preview Lab → · Contrast checker → · Palette generator →

#765397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva