#7B64F2#7B64F2

#7B64F2 is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 60.1% C 0.204 H 285.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7B64F2
RGBrgb(123, 100, 242)
HSLhsl(250, 85%, 67%)
HSVhsv(250, 59%, 95%)
CMYKcmyk(49.2%, 58.7%, 0%, 5.1%)
CIE-LABlab(51.54, 44.53, -68.63)
CIE-LCHlch(51.54, 81.81, 302.97°)
OKLaboklab(60.08% 0.056 -0.1964)
OKLCHoklch(60.08% 0.204 285.9)
XYZxyz(28.7478, 19.7347, 86.2816)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64F2 #DBF264
analogous
#6494F2 #7B64F2 #C264F2
triadic
#7B64F2 #F27B64 #64F27B
tetradic
#7B64F2 #F26494 #DBF264 #64F2C2
square
#7B64F2 #F26494 #DBF264 #64F2C2
split-complementary
#7B64F2 #F2C264 #94F264
monochromatic
#2F11CB #4B2CED #7B64F2 #AB9CF7 #DBD5FB

Accessibility & contrast

On white

4.24
#7B64F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7B64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B64F2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64F2#FFFFFF#000000##000000
##7B64F21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#5085A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b64f2;
/* rgb */ color: rgb(123, 100, 242);
/* oklch */ color: oklch(60.1% 0.204 285.9);
Tailwind
colors: {
  custom: {
    50: '#a991f7',
    500: '#7b64f2',
    950: '#000000',
  },
}
SCSS
$custom: #7b64f2;
$custom-light: #a991f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64f2",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 249.718,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60076,
    "c": 0.2042,
    "h": 285.9
  },
  "luminance": 0.19736
}

Semantic roles & 50–950 ramp

primary
#7B64F2
secondary
#E8EFC2
accent
#E105BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #7B64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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