#C165F2#C165F2

#C165F2 is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.2% C 0.213 H 312.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#C165F2
RGBrgb(193, 101, 242)
HSLhsl(279, 84%, 67%)
HSVhsv(279, 58%, 95%)
CMYKcmyk(20.2%, 58.3%, 0%, 5.1%)
CIE-LABlab(59.03, 59.46, -56.20)
CIE-LCHlch(59.03, 81.82, 316.61°)
OKLaboklab(67.22% 0.1429 -0.1578)
OKLCHoklch(67.22% 0.213 312.2)
XYZxyz(42.6702, 27.0567, 86.9619)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C165F2 #96F265
analogous
#7B65F2 #C165F2 #F265DC
triadic
#C165F2 #F2C165 #65F2C1
tetradic
#C165F2 #F27B65 #96F265 #65DCF2
square
#C165F2 #F27B65 #96F265 #65DCF2
split-complementary
#C165F2 #DCF265 #65F27B
monochromatic
#8B11CB #AA2DED #C165F2 #D89DF7 #EED6FC

Accessibility & contrast

On white

3.28
#C165F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#C165F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C165F2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C165F2#FFFFFF#000000##000000
##C165F21.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3689F6
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#BC7EA2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c165f2;
/* rgb */ color: rgb(193, 101, 242);
/* oklch */ color: oklch(67.2% 0.213 312.2);
Tailwind
colors: {
  custom: {
    50: '#d795f7',
    500: '#c165f2',
    950: '#000000',
  },
}
SCSS
$custom: #c165f2;
$custom-light: #d795f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c165f2",
  "rgb": {
    "r": 193,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 279.149,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67216,
    "c": 0.21286,
    "h": 312.2
  },
  "luminance": 0.27056
}

Semantic roles & 50–950 ramp

primary
#C165F2
secondary
#D3F0C3
accent
#E10551
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C165F2

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

Preview Lab → · Contrast checker → · Palette generator →

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