#7F65CA#7F65CA

#7F65CA is a mid, vivid violet. Relative luminance 0.181; OKLCH L 57.9% C 0.151 H 292.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7F65CA
RGBrgb(127, 101, 202)
HSLhsl(255, 49%, 59%)
HSVhsv(255, 50%, 79%)
CMYKcmyk(37.1%, 50%, 0%, 20.8%)
CIE-LABlab(49.60, 33.57, -49.11)
CIE-LCHlch(49.60, 59.48, 304.35°)
OKLaboklab(57.92% 0.0588 -0.1389)
OKLCHoklch(57.92% 0.151 292.9)
XYZxyz(24.0639, 18.0831, 58.0882)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F65CA #B0CA65
analogous
#657ECA #7F65CA #B265CA
triadic
#7F65CA #CA7F65 #65CA7F
tetradic
#7F65CA #CA657E #B0CA65 #65CAB2
square
#7F65CA #CA657E #B0CA65 #65CAB2
split-complementary
#7F65CA #CAB265 #7ECA65
monochromatic
#452E86 #5C3EB4 #7F65CA #A593DA #CBC0E9

Accessibility & contrast

On white

4.55
#7F65CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7F65CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F65CA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F65CA#FFFFFF#000000##000000
##7F65CA1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E77CE
Deuteranopia (green-blind)
#4374C8
Tritanopia (blue-blind)
#6C798E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f65ca;
/* rgb */ color: rgb(127, 101, 202);
/* oklch */ color: oklch(57.9% 0.151 292.9);
Tailwind
colors: {
  custom: {
    50: '#a891db',
    500: '#7f65ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f65ca;
$custom-light: #a891db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f65ca",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 255.446,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57919,
    "c": 0.15083,
    "h": 292.9
  },
  "luminance": 0.18084
}

Semantic roles & 50–950 ramp

primary
#7F65CA
secondary
#CFD9B2
accent
#D84FB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7F65CA

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

Preview Lab → · Contrast checker → · Palette generator →

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