#7F70CD#7F70CD

#7F70CD is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.1% C 0.138 H 288.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7F70CD
RGBrgb(127, 112, 205)
HSLhsl(250, 48%, 62%)
HSVhsv(250, 45%, 80%)
CMYKcmyk(38%, 45.4%, 0%, 19.6%)
CIE-LABlab(52.41, 27.89, -46.35)
CIE-LCHlch(52.41, 54.10, 301.04°)
OKLaboklab(60.08% 0.0449 -0.1308)
OKLCHoklch(60.08% 0.138 288.9)
XYZxyz(25.5630, 20.5074, 60.3572)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F70CD #BECD70
analogous
#7090CD #7F70CD #AD70CD
triadic
#7F70CD #CD7F70 #70CD7F
tetradic
#7F70CD #CD7090 #BECD70 #70CDAD
square
#7F70CD #CD7090 #BECD70 #70CDAD
split-complementary
#7F70CD #CDAD70 #90CD70
monochromatic
#423290 #5643BD #7F70CD #A89DDD #D0CBED

Accessibility & contrast

On white

4.12
#7F70CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7F70CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F70CD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F70CD#FFFFFF#000000##000000
##7F70CD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#6A8295
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f70cd;
/* rgb */ color: rgb(127, 112, 205);
/* oklch */ color: oklch(60.1% 0.138 288.9);
Tailwind
colors: {
  custom: {
    50: '#a799dd',
    500: '#7f70cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f70cd;
$custom-light: #a799dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f70cd",
  "rgb": {
    "r": 127,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 249.677,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.13829,
    "h": 288.9
  },
  "luminance": 0.20508
}

Semantic roles & 50–950 ramp

primary
#7F70CD
secondary
#D8DDBB
accent
#BB2AA4
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F70CD

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

Preview Lab → · Contrast checker → · Palette generator →

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