#C274DB#C274DB

#C274DB is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.2% C 0.166 H 317.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#C274DB
RGBrgb(194, 116, 219)
HSLhsl(285, 59%, 66%)
HSVhsv(285, 47%, 86%)
CMYKcmyk(11.4%, 47%, 0%, 14.1%)
CIE-LABlab(60.85, 47.40, -40.48)
CIE-LCHlch(60.85, 62.33, 319.50°)
OKLaboklab(68.2% 0.1225 -0.1121)
OKLCHoklch(68.2% 0.166 317.5)
XYZxyz(41.2779, 29.0759, 70.4419)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C274DB #8DDB74
analogous
#8E74DB #C274DB #DB74C0
triadic
#C274DB #DBC274 #74DBC2
tetradic
#C274DB #DB8E74 #8DDB74 #74C0DB
square
#C274DB #DB8E74 #8DDB74 #74C0DB
split-complementary
#C274DB #C0DB74 #74DB8E
monochromatic
#8A2CA9 #AD43CE #C274DB #D7A5E8 #EDD5F4

Accessibility & contrast

On white

3.08
#C274DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#C274DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C274DB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C274DB#FFFFFF#000000##000000
##C274DB1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#7895D8
Tritanopia (blue-blind)
#C2829D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c274db;
/* rgb */ color: rgb(194, 116, 219);
/* oklch */ color: oklch(68.2% 0.166 317.5);
Tailwind
colors: {
  custom: {
    50: '#d69ee6',
    500: '#c274db',
    950: '#000000',
  },
}
SCSS
$custom: #c274db;
$custom-light: #d69ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#c274db",
  "rgb": {
    "r": 194,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 285.437,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68204,
    "c": 0.16608,
    "h": 317.5
  },
  "luminance": 0.29075
}

Semantic roles & 50–950 ramp

primary
#C274DB
secondary
#CDE7C4
accent
#C61F48
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C274DB

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

Preview Lab → · Contrast checker → · Palette generator →

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