#7F65B2#7F65B2

#7F65B2 is a mid, moderate violet. Relative luminance 0.170; OKLCH L 56.5% C 0.118 H 298.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7F65B2
RGBrgb(127, 101, 178)
HSLhsl(260, 33%, 55%)
HSVhsv(260, 43%, 70%)
CMYKcmyk(28.7%, 43.3%, 0%, 30.2%)
CIE-LABlab(48.30, 27.20, -37.30)
CIE-LCHlch(48.30, 46.16, 306.10°)
OKLaboklab(56.53% 0.0557 -0.1044)
OKLCHoklch(56.53% 0.118 298.1)
XYZxyz(21.4401, 17.0336, 44.2691)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F65B2 #98B265
analogous
#6572B2 #7F65B2 #A665B2
triadic
#7F65B2 #B27F65 #65B27F
tetradic
#7F65B2 #B26572 #98B265 #65B2A6
square
#7F65B2 #B26572 #98B265 #65B2A6
split-complementary
#7F65B2 #B2A665 #72B265
monochromatic
#463468 #614991 #7F65B2 #A18EC6 #C3B7DB

Accessibility & contrast

On white

4.77
#7F65B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7F65B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F65B2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F65B2#FFFFFF#000000##FFFFFF
##7F65B21.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#757383
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f65b2;
/* rgb */ color: rgb(127, 101, 178);
/* oklch */ color: oklch(56.5% 0.118 298.1);
Tailwind
colors: {
  custom: {
    50: '#a691c9',
    500: '#7f65b2',
    950: '#000000',
  },
}
SCSS
$custom: #7f65b2;
$custom-light: #a691c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f65b2",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 260.26,
    "s": 33.333,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56526,
    "c": 0.11834,
    "h": 298.1
  },
  "luminance": 0.17034
}

Semantic roles & 50–950 ramp

primary
#7F65B2
secondary
#BFCAA9
accent
#C95EA5
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0D13
muted
#7F7D82

Preview Lab

Preview with #7F65B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7F65B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva