#C274FC#C274FC

#C274FC is a light, highly saturated violet. Relative luminance 0.310; OKLCH L 70.0% C 0.202 H 308.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#C274FC
RGBrgb(194, 116, 252)
HSLhsl(274, 96%, 72%)
HSVhsv(274, 54%, 99%)
CMYKcmyk(23%, 54%, 0%, 1.2%)
CIE-LABlab(62.50, 54.38, -56.19)
CIE-LCHlch(62.50, 78.20, 314.06°)
OKLaboklab(69.96% 0.1258 -0.1578)
OKLCHoklch(69.96% 0.202 308.6)
XYZxyz(46.0608, 30.9891, 95.6316)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C274FC #AEFC74
analogous
#7E74FC #C274FC #FC74F2
triadic
#C274FC #FCC274 #74FCC2
tetradic
#C274FC #FC7E74 #AEFC74 #74F2FC
square
#C274FC #FC7E74 #AEFC74 #74F2FC
split-complementary
#C274FC #F2FC74 #74FC7E
monochromatic
#8C05F0 #A838FB #C274FC #DCB0FD #F2E1FE

Accessibility & contrast

On white

2.92
#C274FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#C274FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C274FC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C274FC#FFFFFF#000000##000000
##C274FC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#6498F9
Tritanopia (blue-blind)
#BA8CAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c274fc;
/* rgb */ color: rgb(194, 116, 252);
/* oklch */ color: oklch(70.0% 0.202 308.6);
Tailwind
colors: {
  custom: {
    50: '#d79ffe',
    500: '#c274fc',
    950: '#000000',
  },
}
SCSS
$custom: #c274fc;
$custom-light: #d79ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#c274fc",
  "rgb": {
    "r": 194,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 274.412,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69961,
    "c": 0.20178,
    "h": 308.6
  },
  "luminance": 0.30988
}

Semantic roles & 50–950 ramp

primary
#C274FC
secondary
#E3F7D4
accent
#E60062
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C274FC

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

Preview Lab → · Contrast checker → · Palette generator →

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