#7F65F4#7F65F4

#7F65F4 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 60.7% C 0.205 H 287.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7F65F4
RGBrgb(127, 101, 244)
HSLhsl(251, 87%, 68%)
HSVhsv(251, 59%, 96%)
CMYKcmyk(48%, 58.6%, 0%, 4.3%)
CIE-LABlab(52.23, 45.31, -68.61)
CIE-LCHlch(52.23, 82.22, 303.44°)
OKLaboklab(60.71% 0.0599 -0.1962)
OKLCHoklch(60.71% 0.205 287)
XYZxyz(29.7304, 20.3497, 87.9318)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F65F4 #DAF465
analogous
#6592F4 #7F65F4 #C665F4
triadic
#7F65F4 #F47F65 #65F47F
tetradic
#7F65F4 #F46592 #DAF465 #65F4C6
square
#7F65F4 #F46592 #DAF465 #65F4C6
split-complementary
#7F65F4 #F4C665 #92F465
monochromatic
#320FD0 #502CF0 #7F65F4 #AE9EF8 #DED7FC

Accessibility & contrast

On white

4.14
#7F65F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7F65F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F65F4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F65F4#FFFFFF#000000##000000
##7F65F41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#5786A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f65f4;
/* rgb */ color: rgb(127, 101, 244);
/* oklch */ color: oklch(60.7% 0.205 287.0);
Tailwind
colors: {
  custom: {
    50: '#ac92f9',
    500: '#7f65f4',
    950: '#000000',
  },
}
SCSS
$custom: #7f65f4;
$custom-light: #ac92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f65f4",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 244
  },
  "hsl": {
    "h": 250.909,
    "s": 86.667,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.20512,
    "h": 287
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#7F65F4
secondary
#E9F1C4
accent
#E302BA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F65F4

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

Preview Lab → · Contrast checker → · Palette generator →

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