#7D65B2#7D65B2

#7D65B2 is a mid, moderate violet. Relative luminance 0.169; OKLCH L 56.3% C 0.118 H 296.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7D65B2
RGBrgb(125, 101, 178)
HSLhsl(259, 33%, 55%)
HSVhsv(259, 43%, 70%)
CMYKcmyk(29.8%, 43.3%, 0%, 30.2%)
CIE-LABlab(48.11, 26.63, -37.61)
CIE-LCHlch(48.11, 46.09, 305.30°)
OKLaboklab(56.34% 0.0532 -0.1054)
OKLCHoklch(56.34% 0.118 296.8)
XYZxyz(21.1451, 16.8814, 44.2553)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D65B2 #9AB265
analogous
#6574B2 #7D65B2 #A365B2
triadic
#7D65B2 #B27D65 #65B27D
tetradic
#7D65B2 #B26574 #9AB265 #65B2A3
square
#7D65B2 #B26574 #9AB265 #65B2A3
split-complementary
#7D65B2 #B2A365 #74B265
monochromatic
#443468 #5F4991 #7D65B2 #9F8EC6 #C2B7DB

Accessibility & contrast

On white

4.80
#7D65B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7D65B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D65B2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D65B2#FFFFFF#000000##FFFFFF
##7D65B21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B5
Deuteranopia (green-blind)
#5371B0
Tritanopia (blue-blind)
#727383
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d65b2;
/* rgb */ color: rgb(125, 101, 178);
/* oklch */ color: oklch(56.3% 0.118 296.8);
Tailwind
colors: {
  custom: {
    50: '#a591c9',
    500: '#7d65b2',
    950: '#000000',
  },
}
SCSS
$custom: #7d65b2;
$custom-light: #a591c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d65b2",
  "rgb": {
    "r": 125,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 258.701,
    "s": 33.333,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56336,
    "c": 0.11805,
    "h": 296.8
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#7D65B2
secondary
#C0CAA9
accent
#C95EA8
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7D65B2

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

Preview Lab → · Contrast checker → · Palette generator →

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