#A762FB#A762FB

#A762FB is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.5% C 0.220 H 301.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A762FB
RGBrgb(167, 98, 251)
HSLhsl(267, 95%, 68%)
HSVhsv(267, 61%, 98%)
CMYKcmyk(33.5%, 61%, 0%, 1.6%)
CIE-LABlab(56.00, 57.05, -66.21)
CIE-LCHlch(56.00, 87.40, 310.75°)
OKLaboklab(64.53% 0.1139 -0.1879)
OKLCHoklch(64.53% 0.22 301.2)
XYZxyz(37.7125, 23.9157, 93.8774)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762FB #B6FB62
analogous
#6269FB #A762FB #F462FB
triadic
#A762FB #FBA762 #62FBA7
tetradic
#A762FB #FB6269 #B6FB62 #62FBF4
square
#A762FB #FB6269 #B6FB62 #62FBF4
split-complementary
#A762FB #FBF462 #69FB62
monochromatic
#6706DD #8626F9 #A762FB #C89EFD #EAD9FE

Accessibility & contrast

On white

3.63
#A762FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A762FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762FB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762FB#FFFFFF#000000##000000
##A762FB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#2E85F8
Tritanopia (blue-blind)
#9683A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a762fb;
/* rgb */ color: rgb(167, 98, 251);
/* oklch */ color: oklch(64.5% 0.220 301.2);
Tailwind
colors: {
  custom: {
    50: '#c692fd',
    500: '#a762fb',
    950: '#000000',
  },
}
SCSS
$custom: #a762fb;
$custom-light: #c692fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a762fb",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 267.059,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64526,
    "c": 0.21973,
    "h": 301.2
  },
  "luminance": 0.23916
}

Semantic roles & 50–950 ramp

primary
#A762FB
secondary
#DFF3C5
accent
#E6007E
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A762FB

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

Preview Lab → · Contrast checker → · Palette generator →

#A762FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva