#7F65DA#7F65DA

#7F65DA is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.9% C 0.172 H 290.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7F65DA
RGBrgb(127, 101, 218)
HSLhsl(253, 61%, 63%)
HSVhsv(253, 54%, 85%)
CMYKcmyk(41.7%, 53.7%, 0%, 14.5%)
CIE-LABlab(50.55, 37.97, -56.71)
CIE-LCHlch(50.55, 68.25, 303.81°)
OKLaboklab(58.93% 0.0598 -0.1612)
OKLCHoklch(58.93% 0.172 290.4)
XYZxyz(26.0575, 18.8805, 68.5874)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F65DA #C0DA65
analogous
#6586DA #7F65DA #B965DA
triadic
#7F65DA #DA7F65 #65DA7F
tetradic
#7F65DA #DA6586 #C0DA65 #65DAB9
square
#7F65DA #DA6586 #C0DA65 #65DAB9
split-complementary
#7F65DA #DAB965 #86DA65
monochromatic
#41269F #5634CE #7F65DA #A896E6 #D1C8F2

Accessibility & contrast

On white

4.40
#7F65DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7F65DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F65DA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F65DA#FFFFFF#000000##000000
##7F65DA1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADE
Deuteranopia (green-blind)
#3076D7
Tritanopia (blue-blind)
#657E96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7f65da;
/* rgb */ color: rgb(127, 101, 218);
/* oklch */ color: oklch(58.9% 0.172 290.4);
Tailwind
colors: {
  custom: {
    50: '#a991e6',
    500: '#7f65da',
    950: '#000000',
  },
}
SCSS
$custom: #7f65da;
$custom-light: #a991e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f65da",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 218
  },
  "hsl": {
    "h": 253.333,
    "s": 61.257,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58933,
    "c": 0.17193,
    "h": 290.4
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

primary
#7F65DA
secondary
#D9E3B8
accent
#C91DA3
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7F65DA

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

Preview Lab → · Contrast checker → · Palette generator →

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