#7F66CA#7F66CA

#7F66CA is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.1% C 0.149 H 292.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7F66CA
RGBrgb(127, 102, 202)
HSLhsl(255, 49%, 60%)
HSVhsv(255, 50%, 79%)
CMYKcmyk(37.1%, 49.5%, 0%, 20.8%)
CIE-LABlab(49.83, 32.98, -48.73)
CIE-LCHlch(49.83, 58.84, 304.09°)
OKLaboklab(58.1% 0.0575 -0.1378)
OKLCHoklch(58.1% 0.149 292.7)
XYZxyz(24.1616, 18.2785, 58.1208)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F66CA #B1CA66
analogous
#667FCA #7F66CA #B166CA
triadic
#7F66CA #CA7F66 #66CA7F
tetradic
#7F66CA #CA667F #B1CA66 #66CAB1
square
#7F66CA #CA667F #B1CA66 #66CAB1
split-complementary
#7F66CA #CAB166 #7FCA66
monochromatic
#452F87 #5C3EB4 #7F66CA #A593DA #CBC1E9

Accessibility & contrast

On white

4.51
#7F66CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7F66CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F66CA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F66CA#FFFFFF#000000##000000
##7F66CA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#6C7A8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f66ca;
/* rgb */ color: rgb(127, 102, 202);
/* oklch */ color: oklch(58.1% 0.149 292.7);
Tailwind
colors: {
  custom: {
    50: '#a892db',
    500: '#7f66ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f66ca;
$custom-light: #a892db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f66ca",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 255,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58095,
    "c": 0.14931,
    "h": 292.7
  },
  "luminance": 0.18279
}

Semantic roles & 50–950 ramp

primary
#7F66CA
secondary
#D0D9B2
accent
#D850B6
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7F66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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