#C7A2F0#C7A2F0

#C7A2F0 is a light, moderate violet. Relative luminance 0.443; OKLCH L 77.3% C 0.115 H 305.6°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#C7A2F0
RGBrgb(199, 162, 240)
HSLhsl(268, 72%, 79%)
HSVhsv(268, 33%, 94%)
CMYKcmyk(17.1%, 32.5%, 0%, 5.9%)
CIE-LABlab(72.41, 28.37, -34.02)
CIE-LCHlch(72.41, 44.30, 309.83°)
OKLaboklab(77.33% 0.0671 -0.0937)
OKLCHoklch(77.33% 0.115 305.6)
XYZxyz(52.1986, 44.2743, 88.2171)
Luminance0.4427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A2F0 #CBF0A2
analogous
#A2A4F0 #C7A2F0 #EEA2F0
triadic
#C7A2F0 #F0C7A2 #A2F0C7
tetradic
#C7A2F0 #F0A2A4 #CBF0A2 #A2F0EE
square
#C7A2F0 #F0A2A4 #CBF0A2 #A2F0EE
split-complementary
#C7A2F0 #F0EEA2 #A4F0A2
monochromatic
#8839DF #A76DE8 #C7A2F0 #E7D7F9 #EFE5FB

Accessibility & contrast

On white

2.13
#C7A2F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#C7A2F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A2F0
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A2F0#FFFFFF#000000##000000
##C7A2F01.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B0F3
Deuteranopia (green-blind)
#9AB2EE
Tritanopia (blue-blind)
#C1ADBE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7a2f0;
/* rgb */ color: rgb(199, 162, 240);
/* oklch */ color: oklch(77.3% 0.115 305.6);
Tailwind
colors: {
  custom: {
    50: '#d9bef5',
    500: '#c7a2f0',
    950: '#000000',
  },
}
SCSS
$custom: #c7a2f0;
$custom-light: #d9bef5;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a2f0",
  "rgb": {
    "r": 199,
    "g": 162,
    "b": 240
  },
  "hsl": {
    "h": 268.462,
    "s": 72.222,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77335,
    "c": 0.11528,
    "h": 305.6
  },
  "luminance": 0.44274
}

Semantic roles & 50–950 ramp

primary
#C7A2F0
secondary
#E6F2D9
accent
#D41178
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C7A2F0

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

Preview Lab → · Contrast checker → · Palette generator →

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