#7657CA#7657CA

#7657CA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.7% C 0.171 H 292.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7657CA
RGBrgb(118, 87, 202)
HSLhsl(256, 52%, 57%)
HSVhsv(256, 57%, 79%)
CMYKcmyk(41.6%, 56.9%, 0%, 20.8%)
CIE-LABlab(45.54, 39.57, -55.66)
CIE-LCHlch(45.54, 68.29, 305.41°)
OKLaboklab(54.71% 0.0647 -0.1584)
OKLCHoklch(54.71% 0.171 292.2)
XYZxyz(21.5372, 14.9316, 57.6130)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7657CA #ABCA57
analogous
#5772CA #7657CA #B057CA
triadic
#7657CA #CA7657 #57CA76
tetradic
#7657CA #CA5772 #ABCA57 #57CAB0
square
#7657CA #CA5772 #ABCA57 #57CAB0
split-complementary
#7657CA #CAB057 #72CA57
monochromatic
#3F287F #5737AD #7657CA #9C86D9 #C2B4E7

Accessibility & contrast

On white

5.27
#7657CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7657CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7657CA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7657CA#FFFFFF#000000##FFFFFF
##7657CA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146DCE
Deuteranopia (green-blind)
#1F6AC7
Tritanopia (blue-blind)
#5F7088
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7657ca;
/* rgb */ color: rgb(118, 87, 202);
/* oklch */ color: oklch(54.7% 0.171 292.2);
Tailwind
colors: {
  custom: {
    50: '#a387db',
    500: '#7657ca',
    950: '#000000',
  },
}
SCSS
$custom: #7657ca;
$custom-light: #a387db;
$custom-dark: #000000;
JSON
{
  "hex": "#7657ca",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 256.174,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54707,
    "c": 0.17112,
    "h": 292.2
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#7657CA
secondary
#C9D6A7
accent
#DB4CB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7657CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7657CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva